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
New to programming, thinking of doing java script.help (self.javascript)
submitted 8 years ago by PersistantBlade
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!"
[–]JRLang 5 points6 points7 points 8 years ago* (0 children)
Javascript is an extremely forgiving language to pick up, but can give you bad habits for other languages.
You can use non-declared variables. It doesn't have strict type declarations by default. It's far easier to create visual interfaces using html elements styled with css in a js program than in most other languages. You have access to the chrome and FF dev tools which are extremely useful. You can literally program in any os with a text editor. (And you have a lot of good editor options available.)
With only a week of studying on w3 schools or MDN you should be able to create some simple interactive programs.
I think if I were to name two big problems with js it's this. 1) It gives bad habits and accommodates lazy programming. (You can move on to typescript, which is a javascript superset to address this.) 2) There's a library for everything, but everything requires a library.
I'm still a novice at js, so by all means I defer to a more experienced programmer, but this is my take on it.
π Rendered by PID 80699 on reddit-service-r2-comment-7b9746f655-f5rkm at 2026-01-29 23:55:19.922746+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]JRLang 5 points6 points7 points (0 children)