OOP confusion

I think there have been misunderstandings about what OOP really is.

Some want to think each and every object as the model of a real-world object. It takes you to very interesting paths.

What an object really is a unit that has a lifecycle (appear and disappear from its universe)

And this unit (instance) has its specific character coming from what data it keeps and what behaviours it has.

Just like any object in the universe.

Programming objects are not modeling real-life objects. They are “like” them in terms of lifecycle and behaviour.

Leave a Comment

Your email address will not be published.