4 ms·
I've never learned JS completely, just dangerous half knowledge from stackoverflow answers or blogs. Should I jump into ES6 directly or learn ES5 and learn ES6
by HaseebR7 11y ago
I've never learned JS completely, just dangerous half knowledge from stackoverflow answers or blogs.
Should I jump into ES6 directly or learn ES5 and learn ES6 when it is implemented across all browsers ?
- acconrad 11y agoThis is sort of like asking should you learn Swift or Objective-C, albeit much less difference between syntaxes. You can certainly get the job done on ES6, and the future is certainly in that direction, but all browsers still run ES5, so if you want to get paid for your work, you'd need to still know that syntax. Babel is a great tool to let you use some of ES6's features now, but it will still help in debugging to know ES5 syntax since Babel transforms it at runtime.
- jhildings 11y agoIf you been doing a lot of JS for web stuff, and used SO etc to check things but don't have a thorough understanding of the language I would recommend the book "JavaScript the good parts"
- edwinnathaniel 11y agoJavaScript the Good Parts shouldn't be the recommended book anymore (and I think even Crockford himself said something along that line in one of his newer videos, couldn't find it though... it's been a while)
- jhildings 11y agoWhy not? I found it more useful than Eloquent Javascript at least
- aaron-lebo 11y agoJust learn ES5 and then take the 10 minutes it takes to learn ES6's features. It doesn't add that much.