8 ms·
From what I can tell, this is a whole lot of bickering about the difference between prototypical languages (like JS) and inheritance-based OO-languages (like C+
by josteink 9y ago
From what I can tell, this is a whole lot of bickering about the difference between prototypical languages (like JS) and inheritance-based OO-languages (like C++/Java/C# etc).
The Gand of four wrote Design patterns for the inhertance-based world, because that was what was churning out most business software and had the biggest need for some standard patterns and conventions. And they used (reused?) the word delegation to fit a useful pattern in a non-prototypical language.
And AFACT that's his argument. That all modern OOP languages got it wrong. So they got delegation wrong too. And GOF got it wrong because the wrote it for modern OOP.
Or did I miss anything?