17 ms·
I think functional aspects of JS are awesome and are of great use in a lot of cases. However it definitely lacks the purity of languages like Haskell or Clojure
by smsm42 14y ago
I think functional aspects of JS are awesome and are of great use in a lot of cases. However it definitely lacks the purity of languages like Haskell or Clojure - which in my view makes it 1000 times more useful (when measured by my productivity using that to achieve any practical task) but I guess in the eyes of purists it makes it irrelevant or unworthy.
- bunderbunder 14y agoI'm inclined to agree re: being more useful. Just shooting from the hip, I'm guessing the performance and scalability of node.js wouldn't be quite so good if it had used purely functional data structures to keep track of all those callbacks.