News for hackers. Stuff that matters.
Re:Functional Programming – How and Why by jstimpfle on Monday January 02, 2023 @08:10AM (#34217484)
It's impossible to get people to agree on what OOP is exactly, but almost everyone agrees that hiding/isolating mutable state (inside objects) is an essential part of it. Just google "what are objects in programming".
Re:Functional Programming – How and Why by sideeffffect on Monday January 02, 2023 @08:32AM (#34217626)
Totally agree that these paradigms are badly defined. See my other comment where I explain it more https://news.ycombinator.com/item?id=34217547

My point here was that all "OOP" languages (that I know) allow you, with all their "OOP feautres", to work with objects which actually don't contain any mutable state.

I'll let you be the judge whether it is still "OOP", but I know from experience that it's very practical for Software Engineering.