- The quality or state of being indirect.
- Lack of straightforwardness; deviousness: obtained their goal by subtle indirection.
- A devious act or statement: wouldn't give us a straight answer, only hints and indirections.
- Lack of direction; aimlessness.
Dictionary:
in·di·rec·tion (ĭn'dĭ-rĕk'shən, -dī-) ![]() |
| 5min Related Video: indirection |
| Computer Desktop Encyclopedia: indirection |
Not direct. Indirection provides a way of accessing instructions, routines and objects when their physical location is constantly changing. The initial routine points to some place, and, using hardware and/or software, that place points to some other place. There can be multiple levels of indirection. For example, point to A, which points to B, which points to C. See indirect addressing.
Download Computer Desktop Encyclopedia to your iPhone/iTouch
| Thesaurus: indirection |
noun
| WordNet: indirection |
The noun has 2 meanings:
Meaning #1:
indirect procedure or action
Meaning #2:
deceitful action that is not straightforward
| Wikipedia: Indirection (programming) |
|
|
This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (December 2007) |
In computer programming, indirection is the ability to reference something using a name, reference, or container instead of the value itself. The most common form of indirection is the act of manipulating a value through its memory address. For example, accessing a variable through the use of a pointer. A stored pointer that exists to provide a reference to an object by double indirection is called an indirection node. In some older computer architectures, indirect words supported a variety of more-or-less complicated addressing modes.
A famous aphorism of David Wheeler goes: All problems in computer science can be solved by another level of indirection;[1] this is often deliberately mis-quoted with "abstraction layer" substituted for "level of indirection". Kevlin Henney's corollary to this is, "...except for the problem of too many layers of indirection."
Object-oriented programming makes use of indirection extensively, a simple example being dynamic dispatch. Higher-level examples of indirection are the design patterns of the proxy and the proxy server. Delegation is another classic example of an indirection pattern. In strongly typed interpreted languages with dynamic datatypes, most variable references require a level of indirection: first the type of the variable is checked for safety, and then the pointer to the actual value is dereferenced and acted on.
Recursive data types are usually implemented using indirection because otherwise if a value of a datatype can contain the entirety of another value of the same datatype, there is no limit to the size a value of this datatype could need.
When doing symbolic programming from a formal mathematical specification the use of indirection can be quite helpful. To start with a simple example the variables x, y and z in an equation such as z = square root (x squared + y squared) can refer to any number. One could imagine objects for various numbers and then x, y and z could point to the specific numbers being used for a particular problem. The simple example has its limitation as there are infinitely many real numbers. In various other parts of symbolic programming there are only so many symbols. So to move on to a more significant example, in logic the formula α can refer to any formula, so it could be β, γ, δ, ... or η→π, ς v σ,.... When set-builder notation is employed the statement Δ={α} means the set of all formulae - so although the reference is to α there are two levels of indirection here, the first to the set of all α and then the second to a specific formula for each occurrence of α in the set Δ.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| indirect addressing (technology) | |
| obliquity | |
| The Passing (1985 Horror Film) |
| What is indirect variation? Read answer... | |
| What is indirect competition? Read answer... | |
| What is 'that' in indirect speech? Read answer... |
| What is an indirect supervisor? | |
| What is indirect democrazy? | |
| What is the indirect reference? |
Copyrights:
![]() | Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved. Read more | |
![]() | Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher. © 1981-2009 Computer Language Company Inc. All rights reserved. Read more | |
![]() | Thesaurus. Roget's II: The New Thesaurus, Third Edition by the Editors of the American Heritage® Dictionary Copyright © 1995 by Houghton Mifflin Company. Published by Houghton Mifflin Company. All rights reserved. Read more | |
![]() | WordNet. WordNet 1.7.1 Copyright © 2001 by Princeton University. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Indirection (programming)". Read more |
Mentioned in