in reply to Re^11: RFC: OO Perl using Moo/Moose book
in thread RFC: OO Perl using Moo/Moose book
The term delegation is also used loosely for various other relationships between objects; see delegation (programming) for more. Frequently confused concepts are simply using another object, more precisely referred to as consultation or aggregation; and evaluating a member on one object by evaluating the corresponding member on another object, notably in the context of the receiving object, which is more precisely referred to as forwarding (when a wrapper object doesn't pass itself to the wrapped object).12a The delegation pattern is a software design pattern for implementing delegation, though this term is also used loosely for consultation or forwarding.
So the terminology might be considered imprecise by Wikipedia, but as that terminology and use is far from uncommon, I guess you'll have to rely on the exact definitions given by each writer instead of hoping for a general terminology.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^13: RFC: OO Perl using Moo/Moose book
by LanX (Saint) on May 01, 2019 at 12:46 UTC | |
|
Re^13: RFC: OO Perl using Moo/Moose book (GoF / Updated)
by LanX (Saint) on May 01, 2019 at 13:30 UTC | |
by choroba (Cardinal) on May 01, 2019 at 21:35 UTC | |
by LanX (Saint) on May 01, 2019 at 22:56 UTC | |
by LanX (Saint) on May 01, 2019 at 23:32 UTC |