Elliot Suzdalnitski
1 min readJul 18, 2019

--

Thanks for your comment!

As for the benefits of functional languages, let’s just say that the jury is still out on that one. I’ve dabbled with F#, Scala and Clojure

Same can be said for OOP or any other programming paradigm for that matter — simply dabbling with something won’t let you see its benefits. It’s easy to say for a beginner “I’ve dabbled with React, there are no benefits”. Try using FP in production for at least a year, and then let’s have another discussion.

> Mutability is a design choice, not an obligation.

Going back to the section on “resilient framework”, OOP languages provide no proper built-in mechanisms for immutability, and mutability is the default. I’m sorry if this sounds rude, but mutability is not a “design choice” when the references are promiscuously shared, it is a design mistake. And the objects are shared by reference in OOP.

> But the killer blow for the functional languages is that the user interface is done in OOP

Yes, OOP is probably still being used in old-school UI frameworks like Windows Forms. A more modern approach towards UI is to use React, which is functional (and is taking the world by storm, for a good reason). It’s not only for the browser.

--

--

Responses (1)