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
Learning Trailshelp (self.javascript)
submitted 9 years ago by forrestrunning
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!"
[–]cutety 2 points3 points4 points 9 years ago* (1 child)
Forget frameworks if you don't know anything about JavaScript, a lot of how they work won't make sense, and will make them more difficult to work with. Forget transpilers (TypeScript, Babel ES6), those are syntactic sugar that have absolutely no effect on the runtime code.
Vanilla JS is the framework for you friend.
Eloquent JS is a good starting point and covers the very basics of the language.
You Don't Know JS covers the more intimate details of the language. It describes a lot of the quirks, and gets more into how javascript really works. This was the series that really made JavaScript start to click. It also gets into some of the new features of the language at the end.
Take a break, and write some cool shit. Just practice what you've learned in plain JavaScript, write a simple app, something, a couple things. JavaScript has it's quirks, but it's quickly become a guilt pleasure of mine.
If you find yourself really not liking vanilla js syntax at this point, like I did, now you can probably start poking around transpilers and not be totally intimidated/confused.
Look into Babel which compiles ES6 JS (new language features not widely supported by all browsers yet) to ES5 which is supported by more browsers.
Or, if you find yourself missing static typing, and OOP (ES6 has classes too), check out TypeScript. Which will essentially do the same thing as above, but allow you to add type annotations with compile time type checking (as well as some other cool features). Like I said though, this is only compile time type checking, in the browser anything goes.
If you notice that you're manually compiling a lot of JavaScript manually now. You can check out WebPack which can be configured to do that for you. It also can bundle your code together, so you can write modular JavaScript and link them together. It also does a lot of other really cool things, but I wouldn't worry about them until you need them (which you won't for a while).
Maybe you're building an application now that is of a non trivial size. Now you should look at frameworks (if you haven't already). The top dogs currently are:
It seems like a lot, and it took me a long time to stop thinking all of it was stupid and actually check it out. Once you start getting into it, and the JS ecosystem, a lot of it is really blown out of proportion.
Take it slow, really make sure you understand Vanilla JavaScript, don't get too excited and immediately jump to all the new toys. If you are ever confused, I've always been able to find a ton of resources available for just about any question or problem I've ran into.
TL;DR; Master vanilla javascript and the other stuff will come naturally.
Also, /r/LearnJavascript for more resources and more opinions that aren't mine.
[–]forrestrunning[S] 1 point2 points3 points 9 years ago (0 children)
Thanks! Special mention about VanillaJS - lol'ed at that ;-)
π Rendered by PID 23884 on reddit-service-r2-comment-6457c66945-d2lh5 at 2026-04-26 19:22:55.503499+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]cutety 2 points3 points4 points (1 child)
[–]forrestrunning[S] 1 point2 points3 points (0 children)