r/functionalprogramming • • Sep 25 '23

Question Why OOP sucks?

4 Upvotes

81 comments sorted by

View all comments

Show parent comment

9

u/ScientificBeastMode Sep 25 '23

This is a great answer. Sometimes the OOP solution is simply idiomatic within the problem space. It’s good to recognize that. That said, if you have an inheritance hierarchy more than 2-3 levels deep, then chances are pretty good that I don’t want to work in your codebase.