What is OOP, really? Why so many different definitions?

matcha_addict@lemy.lol to Programming@programming.dev – 50 points –

There are so many definitions of OOP out there, varying between different books, documentation and articles.

What really defines OOP?

39

You are viewing a single comment

Instead of making one big mess, you make multiple smaller messes and stuff them into objects.

Yep. State is bad, so in OOP we take the huge ugly ball of unnecessary state, and we spread it across the program ecosystem as a thin ugly brittle venier of unnecessary state.