News for hackers. Stuff that matters.
Re:The faster you unlearn OOP, the better for you and your s... by alasdair_ on Sunday November 25, 2018 @09:48AM (#18527071)
>- Because OOP requires scattering everything across many, many tiny encapsulated objects, the number of references to these objects explodes as well. OOP requires passing long lists of arguments everywhere or holding references to related objects directly to shortcut it.

This drove me nuts too - it's the exact opposite of what OO design suggests to do. See: https://en.wikipedia.org/wiki/Law_of_Demeter

There are no comments on this comment yet.