r/functionalprogramming • • Sep 25 '23

Question Why OOP sucks?

4 Upvotes

81 comments sorted by

View all comments

Show parent comment

5

u/Important_Ad_9453 Sep 25 '23

I think UI modeled as functions with separate state captures UX development needs much better(e.g. react or anything with similar patterns)

OOP in UI development is okish until you need to do something that the particular library developer hasn't thought of. And then you are screwed. Its never clean.

1

u/kimmo6 Sep 25 '23

Web is slightly different, I mainly meant native GUI. Although React too has iterated it's state updare approach many times..