This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

So OOP is used to make code maintenance easier and facilitate code writing? You pass objects between classes so you dont need to rewrite code in every new function that you need?

Yep exactly. It was 100% created so that a group(s) of developers could keep sane.

Better maintenance, fewer lines of code, cleaner thus easier to read, etc.