by peeters · 14y ago · 0 comments
Just because Lieberman tried to give it a more refined definition in the context of OOP doesn't mean that the less refined use is incorrect. You don't get to take away my English words.
The Design Patterns book sought to clarify our language yet it has this error. I'm seeking to clarify our language.
Delegate. Verb: Entrust (a task or responsibility) to another person, typically one who is less senior than oneself: "he delegates routine tasks".
It's not hard to see how that would be analogous to a variety of situations in computing.
If you want a term to be more pure, think of something more creative.
Edit: That's not to take away from your point that the GoF actually cited Lieberman in their use of delegation. If they misunderstood his intention, sure raise that point.
So why not argue about people using "delegation" when they just mean "forwarding"?
So did "inheritance" but it means something very specific in programming parlance.
The language doesn't need clarifying, because the term has a definition, which is perfectly clear. Through a quirk of history, this perfectly clear definition happens to be different than the other perfectly clear definition which preceded it. Due to this retcon, Leiberman's original definition ends up being incorrect. Wasn't the first time something like this happens, and it won't be the last. So it goes.
If his post persuades everyone and they start using it the way he wants them to, then language does work that way.