Functional programming is an ideal fit for developing blockchains
Some applications just lend themselves to certain programming paradigms.
![](https://cdn.statically.io/img/cdn.stackoverflow.co/images/jo7n4k8s/production/d60c53c5210230b98e3e08a504df6ca18bcbbc5e-2400x1260.jpg?rect=1,0,2399,1260&w=415&h=218&auto=format&dpr=2)
Some applications just lend themselves to certain programming paradigms.
What does a blockchain built for engineers look like?
Originally, React mainly used class components, which can be strenuous at times as you always had to switch between classes, higher-order components, and render props. With React hooks, you can now do all these without switching, using functional components.
OOP has been wildly successful. But was the success just a coincidence? And can it still offer something unique in 2020 that other programming paradigms cannot?