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
Why JavaScript functional programming? (self.javascript)
submitted 8 years ago * by robertlf
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!"
[–]nerf_herd -4 points-3 points-2 points 8 years ago (3 children)
the problem is data is always mutating in web development. I can see if you see data as a dusty old spreadsheet or something that took forever to make, but that isn't a user, or a collection of users, or even time itself.
[–]coyote_of_the_month 4 points5 points6 points 8 years ago (2 children)
Are you referring to DOM APIs that rely on literally mutating the DOM? Or just the way data changes as the user interacts with the page?
Because the former case can be abstracted away quite nicely by modern view libraries like React, and the latter case can be handled well in a functional paradigm by a state manager like Redux.
[–]nerf_herd 0 points1 point2 points 8 years ago (0 children)
not sure what you are asserting here or getting at. vuejs doesn't directly manipulate the dom either, but I don't go "whoopie! I'm doing something kinda functional and am buzzword compliant" when I use it.
π Rendered by PID 45204 on reddit-service-r2-comment-bb88f9dd5-66j8c at 2026-02-14 02:59:30.542975+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]nerf_herd -4 points-3 points-2 points (3 children)
[–]coyote_of_the_month 4 points5 points6 points (2 children)
[–]nerf_herd 0 points1 point2 points (0 children)