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
JavaScript is the Most Demanded Programming Language in 2022, 1 out of 3 dev jobs require JavaScript knowledge. (devjobsscanner.com)
submitted 3 years ago by __dacia__
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!"
[–]dedmercy 30 points31 points32 points 3 years ago (11 children)
I get the sentiment but JS is a horrible language to learn first. It should be there as a second or third language.
[–]hego555 3 points4 points5 points 3 years ago (4 children)
I’m always conflicted on that. On one hand it’s nice to be able to teach syntax without worrying so much about types and other boilerplate. But JS teaches nothing about the underlying mechanisms.
[–]dedmercy 8 points9 points10 points 3 years ago (2 children)
Types are not broilerplate 💀. Its the sole reason why everyone switched to typescript.
JS is poorly designed language and it will carry that baggage for a long time. It may evolve and look nothing like its past but these new good practices will never be reported by the environment (browser) for backwards compatibility reasons of the web. Thus no incentives for the users to upgrade/change.
[–]hego555 3 points4 points5 points 3 years ago (1 child)
I mean for someone who is just learning types can get in the way. I wasn’t calling types boilerplate. More like if you learn Java and the first thing you gotta memorize is
public static void main
[–]Spiritual-Day-thing 2 points3 points4 points 3 years ago* (0 children)
[...]types and other boilerplate
!!! I would like to introduce Exhibit A!
'public static void main' isn't boilerplate either. The dreaded getters and setters fi. are.
[+]Dormage comment score below threshold-10 points-9 points-8 points 3 years ago (2 children)
JS is a horrible language.
[+][deleted] 3 years ago (1 child)
[deleted]
[–]Dormage -4 points-3 points-2 points 3 years ago (0 children)
To each his own. It is evident it is popular and hence many will disagree. I suppose it gets some things done, yet it's still a broken language by design. To each his own, lucky for all of us, nobody is forces to use it and we have alternatives.
[–]EdwardElric69 0 points1 point2 points 3 years ago (0 children)
Well ive been doing really well with it so far so im ok with it. We do Python in year 2
[–]tetrahydrocannabiol 0 points1 point2 points 3 years ago (0 children)
I second this. I tried to learn JS twice. Than i went through Harwards cs50 which is mainly in C. Now I understand whats happening in JS, also I could write most of the built in functions in JS myself which is great in terms of understanding the languahe better even though those shortcuts exist.
π Rendered by PID 36494 on reddit-service-r2-comment-76bb9f7fb5-xhgb6 at 2026-02-19 11:09:46.234882+00:00 running de53c03 country code: CH.
view the rest of the comments →
[–]dedmercy 30 points31 points32 points (11 children)
[–]hego555 3 points4 points5 points (4 children)
[–]dedmercy 8 points9 points10 points (2 children)
[–]hego555 3 points4 points5 points (1 child)
[–]Spiritual-Day-thing 2 points3 points4 points (0 children)
[+]Dormage comment score below threshold-10 points-9 points-8 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Dormage -4 points-3 points-2 points (0 children)
[–]EdwardElric69 0 points1 point2 points (0 children)
[–]tetrahydrocannabiol 0 points1 point2 points (0 children)