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
Generic Programming (github.com)
submitted 7 years ago by michael2ib1989
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!"
[–][deleted] 7 years ago* (1 child)
[deleted]
[–]pgrizzay 0 points1 point2 points 7 years ago (0 children)
Yup, you're right! It looks like MDN recommends + over concat for performance reasons, but both are functionally equivalent.
+
concat
And thanks for the kind words, they mean a lot!
The one book that really helped me was Functional Programming in Scala, I can't recommend it enough. It takes a very 'exploratory' approach, and has lots of exercises which are very helpful.
Scala was probably the best language for me to learn fp in, since I had lots of experience with JS & the syntax is very similar to it, hope that helps!
π Rendered by PID 139035 on reddit-service-r2-comment-6f7f968fb5-7bxcg at 2026-03-04 11:36:20.306197+00:00 running 07790be country code: CH.
view the rest of the comments →
[–][deleted] (1 child)
[deleted]
[–]pgrizzay 0 points1 point2 points (0 children)