Delegation pattern

In software engineering, the delegation pattern is an object-oriented design pattern that allows object composition to achieve the same code reuse as inheritance. In delegation, an object handles a request by delegating to a second object (the delegate).

Source: Wikipedia — Delegation pattern (CC BY-SA 4.0)

Delegation pattern

In software engineering, the delegation pattern is an object-oriented design pattern that allows object composition to achieve the same code reuse as inheritance. In delegation, an object handles a request by delegating to a second object (the delegate).

Source: Wikipedia "Delegation pattern" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy