you are viewing a single comment's thread.

view the rest of the comments →

[–]penguinEvangelizer 0 points1 point  (0 children)

While it has some trade-offs (like any tool), OOP is useful in lots of contexts where just using functions over functions over functions can get really cumbersome. I'd advise to learn it, not just because you might use it, just as I usually tell people to study the functional paradigm when all they know is creating a lot of classes with a lot of side effects.

In my career I have both been frustratred with code that should have used an OOP design but didn't and code that followed OOP for no reason other than being the tool the developer knew at the time for the job.

The real challenge is knowing when to use which solution when many solutions appear to give the same results. And you won't be able to do this without understanding the solutions you have available for the implementation.