|
|
|
|
|
by jameslk
3344 days ago
|
|
I don't see how preferring composition over inheritance makes OOP less relevant. In fact, GoF even suggests using composition over inheritance in OOP. Nor do I see how immutability and lambda functions are mutually exclusive to OOP either. You can have all of these things and still reap plenty of benefits from OOP. The benefits of OO polymorphism and several decades worth of architectural design patterns are not irrelevant just because functional programming concepts exist. Both should be used advantageously and when appropriate. |
|
The GoF patterns either need updating or perhaps we're on the verge of calling this hybrid environment something completely different (?)