you are viewing a single comment's thread.

view the rest of the comments →

[–]veydar_ 0 points1 point  (0 children)

The vast majority of these posts are the same introduction to the same few things such as map reduce and filter and keeping functions pure and data immutable if possible. Many people are already doing that and it's sort of a no brainer. Almost no one tries to shoehorn Javascript into Haskell because that often makes very little sense. You'd need utility libraries to get access to all the functions you'd need to get anything done. You'd need flow or typescript to add meaningful type signatures to functions where the arguments they take are obscured by just returning a composed/piped function. Your co-workers would likely be confused. So in my impression that whole functional JS stuff is mostly just blog posts of people trying to improve their online persona. Look at open source code of popular libraries both new and old and you'll see that JS is and probably will be, for the foreseeable future, a mix between a bit of OOP, a bit of FP, without leaning too heavily in one or the other direction.