Re:Case against OOP is understated, not overstated (2020)
by Fire-Dragon-DoL on Saturday February 12, 2022 @01:08AM
(#30310399)
It's definitely that, but to be fair the problem is caused by classg-based programming, not OOP itself.
Put state on an object only if there is a hard requirement for it. The occurrence is incredibly rare, state is mostly introduced to save re-typing method arguments...
Put state on an object only if there is a hard requirement for it. The occurrence is incredibly rare, state is mostly introduced to save re-typing method arguments...