For some scenarios, functional programming is a good match. For example, Big Data. FP has features such as lazy evaluation, which is important for Spark, for example. Not surprisingly many Big Data libs, including Spark, are written in FP languages (Spark was written in Scala).<p>For JavaScript FP is not a good match [1]. Certainly, many ideas that originated in FP work well in JavaScript, for example lambdas. But some people take FP to an extreme, to the point of saying that OOP is now obsolete. How can OOP only <i>now</i> become obsolete, given that FP has existed long before OOP? That doesn't make sense.<p>[1] <a href="https://medium.com/weekly-webtips/dysfunctional-programming-in-javascript-cae5c085a76e" rel="nofollow">https://medium.com/weekly-webtips/dysfunctional-programming-...</a>