News for hackers. Stuff that matters.
Re:Case against OOP is understated, not overstated (2020) by raducu on Friday February 11, 2022 @03:21AM (#30298625)
> I'll try to do this, I'm curious to see how that would look like.

That looks like a terrible mess.

The problem is not state, but messy access to it.

Re:Case against OOP is understated, not overstated (2020) by usrusr on Friday February 11, 2022 @08:36AM (#30301284)
Everybody agrees that OOP was killed by getters and setters. But I don't think that there is much consensus about how long it would have survived without.

(I'm not saying that OOP doesn't have its place, but it has clearly turned from a way of structuring code to universally strive for into something to avoid if possible)