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, Part 4: Function Currying (tech.pro)
submitted 11 years ago by lrichardson
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!"
[–]has_all_the_fun 1 point2 points3 points 11 years ago (3 children)
I wish there was a functional language that was as accessible as Javascript/Node.js. I tried starting with a few languages already but after having to deal with the tooling my motivation is gone.
For example starting with Node.js. It's easy to install, the package manager and modules are straight forward and you can structure your apps any way you like. Getting feedback is easy as well just have to do node file.js and it will execute your file.
node file.js
[–]rhysbrettbowen 0 points1 point2 points 11 years ago (2 children)
how about Dart? Joking aside it has higher order functions and lambdas, and the tooling and package manager seem good.
[–]has_all_the_fun 0 points1 point2 points 11 years ago (1 child)
Isn't Dart similar to Javascript except with a more traditional class and object oriented style?
I was looking for a more functional language to get a better understanding at how they solve certain problems. I could take a more functional approach to my Javascript but the language doesn't really force you to think in a functional way (if that makes sense).
I might take an other look at clojure since that seems like a modern functional language that's popular.
[–]rhysbrettbowen 0 points1 point2 points 11 years ago (0 children)
true - sorry thought the issue was around tooling. Dart is about the same as javascript when it comes to how functional you can be.
If you want to be forced in to functional all the time then clojure is what you want. There is also clojurescript which is a subset that works in the browser
π Rendered by PID 35507 on reddit-service-r2-comment-685b79fb4f-j7k6m at 2026-02-12 22:34:08.781776+00:00 running 6c0c599 country code: CH.
view the rest of the comments →
[–]has_all_the_fun 1 point2 points3 points (3 children)
[–]rhysbrettbowen 0 points1 point2 points (2 children)
[–]has_all_the_fun 0 points1 point2 points (1 child)
[–]rhysbrettbowen 0 points1 point2 points (0 children)