3 ms·
You can't get much more mainstream than Javascript, and it's fairly functional.
by bryanlarsen 9y ago
You can't get much more mainstream than Javascript, and it's fairly functional.
- zaarn 9y agoJS is multi-paradigm, it's functional but it's also 3 other things that muddy the water a bit. Especially considering most programming languages have those neat helper methods or stdlib implementations that basically bring functional programming without changing the language much.
- jackhack 9y agoJS may be capable of a pure functional programming style, but from 20 years of observing it's use (and misuse), functional JS is an exceptionally rare occurrence; an edge case.
- maze-le 9y agoJavascript may have some functional concepts (mainly, functions as first order objects) but the programming style of most common javascript projects is not functional. This is with the notable exception of event-driven frameworks and precompiled languages like purescript.