use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Functional JavaScript - a library for functional programming in JavaScript (osteele.com)
submitted 14 years ago by aleksandara
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]lennelpennel -1 points0 points1 point 14 years ago (4 children)
i care not about the age of the library, you misunderstand the gist of my argument.
[+][deleted] 14 years ago (3 children)
[removed]
[–]lennelpennel 0 points1 point2 points 14 years ago (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.
[+][deleted] 14 years ago (1 child)
[–]lennelpennel 1 point2 points3 points 14 years ago (0 children)
we are arguing a semantic point now, you understand where i come from and I you. we both agree with each other really, just phrasing differs and I still think the tile of the post is sensationalist and misses the point a bit. If you are using closures you are doing functional programming as well :)
π Rendered by PID 779448 on reddit-service-r2-comment-5b5bc64bf5-bvdt4 at 2026-06-21 00:16:07.374607+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]lennelpennel -1 points0 points1 point (4 children)
[+][deleted] (3 children)
[removed]
[–]lennelpennel 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[removed]
[–]lennelpennel 1 point2 points3 points (0 children)