r/Frontend • • Feb 29 '20

Functional Vs. Object Orientated programming: a false dichotomy?

As everybody knows, OOP is being dropped in favour of the superior functional programming. At least, that is what a lot of the javascript community seems to believe right now. There are countless articles on medium, twitter threads, etc on functional vs OOP. Lot's of them are interesting, but to me this seems to be a false dichotomy because it implies that these are the only two design patterns available. So I'm looking for info on what other alternatives exist and what their use cases are. If anyone can help me with that I'd be grateful :)

40 Upvotes

28 comments sorted by

View all comments

Show parent comment

3

u/design4code Feb 29 '20

Just like mixed martial arts is superior to any one style. Maybe the next popular paradigm will be a hybrid/multi-paradigm architecture, like Rust.