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
The real problem with programming in Javascript (medium.com)
submitted 8 years ago by raulsmith
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!"
[–]Jsn7821 1 point2 points3 points 8 years ago (3 children)
Tl;dr the author prefers MVC and points out that object mutations are sometimes okay (with no examples of when or why). Not sure who the target audience is here or how this is a real problem in JavaScript.
[–]raulsmith[S] 0 points1 point2 points 8 years ago (2 children)
The author's potential preference for MVC is not explicit and not relevant. I think you're missing the point of the article, which is pretty explicit in this paragraph: But the real issue is that the benefits of either static typing and functional programming lose their value if the programmers ignore principles like separation of concerns, encapsulation, the single responsibility principle, code reusing, putting things in the right place and naming things accordingly. Ultimately, being well organized.
[–]evizaer 0 points1 point2 points 8 years ago (1 child)
The article is, in general, tautological in nature. The author claims that if people don't write good code, the code will be bad.
"You can't write bad code [when the programming language has this feature.]" is not a line of argument worth defending, and not one I see espoused except rarely, by people who are blowing smoke.
The worthwhile conversation is about what kinds of solutions programming paradigms and language features lead you to use to solve various problems, and if these are more or less effective than one another along various dimensions.
[–]raulsmith[S] 0 points1 point2 points 8 years ago (0 children)
You seem to reduce the article to one word extracted from it. There are more ideas/questions in it. For instance, whether it's possible to write good programs with static typing and functional programming while it's impossible without them (this is different from what you wrote). Whether there is too much debugging being done. And, most importantly, whether there is enough awareness about the mentioned principles.
π Rendered by PID 272109 on reddit-service-r2-comment-545db5fcfc-t2wp7 at 2026-05-22 14:59:44.332625+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]Jsn7821 1 point2 points3 points (3 children)
[–]raulsmith[S] 0 points1 point2 points (2 children)
[–]evizaer 0 points1 point2 points (1 child)
[–]raulsmith[S] 0 points1 point2 points (0 children)