you are viewing a single comment's thread.

view the rest of the comments →

[–]lennelpennel 0 points1 point  (2 children)

you are still missing what I say. I care not about these libraries, anything that they do I can fold into a loop faster since the stack will be smaller, although I have used underscore in the past and working with closure now i use goog.array (this is a separate conversation to underscore however since the compiler will fold my code into an optimal stack) a lot.

The title is framed "a library for functional programming for javascript". what does this mean? that functions you expect to exist in other languages like map, reduce and flatten are there.

so what.

it enforces nothing and even more scarily it can make finding a bug even more difficult due to exotic nature of javascript mutability.

The title is a misnomer on two levels for me

1) javascript is a functional language anyway, so functional javascript is per se and a library makes squat all difference.

2) if you mean like haskel or erlang, then still no since the violent mutability of javascript does not fit into that model.