Indirection
Indirection is the use of an intermediate reference or placeholder to access a target value or object rather than accessing the value directly. It creates a separation between the requester and the target, allowing the identity of the target to be changed without altering the requester.
In computing, indirection appears through pointers, references, handles, and indirect addressing. A program may store a
Indirection is also a structural tool in software design. Names or references act as aliases for actual
Benefits of indirection include decoupling, flexibility, and easier maintenance, since implementations can change without affecting callers.