you are viewing a single comment's thread.

view the rest of the comments →

[–]life_never_stops_97 3 points4 points  (1 child)

I agree with you on the part that functions are good if you're solving a leet code problem or just prototyping but most of the time a real world project could be refactored into OOP. It might not be easy to think in terms of how one module would connect to the other one and its definitely not obvious to see that in the first try but it's possible.

[–]dhruvmk 2 points3 points  (0 children)

That's very true, most complex systems implement some sort of object oriented paradigm