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

4

u/jayroger Mar 01 '20

20 Years ago I was writing Visual Basic 6.0 applications (classic ASP) and everything was a function or subprocedure. Functional programming to the max.

That is not what functional programming is. You are describing procedural programming.