|
|
|
|
|
by dangerface
1382 days ago
|
|
> If OOP was a solution to anything really, we wouldn't need design patterns, clean architecture, or SOLID design principles. He's not wrong. I loved moving from C to C++ polymorphic code is such a cool concept but after a while you realise it really doesn't solve anything on its own. Then you start to encapsulate everything in an attempt to separate concerns then you realise that separation of concerns is actually quite easy if you separate data from function and make sure functions have no side effects, something OOP encourages the exact opposite of. |
|