2 ms·
> What you wish you'd known before getting into JavaScript? JavaScript is fundamentally different than Python or Java. Learn plain JavaScript alongside learni
by flaviocopes 8y ago
> What you wish you'd known before getting into JavaScript?
JavaScript is fundamentally different than Python or Java.
Learn plain JavaScript alongside learning a framework - it won't bore you too much with theory and you start right away building things
> too much noise out there with dozens of frameworks
Really, for the most part, it all boils down to React, Vue and Angular. Those are the mainstream ones, then you have hundreds or thousands of alternatives, but as a beginner, you'd better stick to the most popular ones, easier to find help and libraries.
> (e.g. CoffeeScript, TypeScript, JSX, etc)
CoffeeScript is no longer widely used. As I see it, it was mostly a good introduction to JavaScript for Ruby developers, but I haven't seen lots of CoffeeScript projects after the recent ECMAScript releases (ES6-7-8)
Watch out for outdated tutorials: after 2015 JavaScript changed a lot.
JSX is not a language variation, but rather a different way to write templates.
Avoid getting too picky with the tooling: if using Vue, just use Vue CLI. With React, just use create-react-app
Rely on a code formatter: Prettier. Also, use ESLint to make sure you start with the right foot on code best practices
Don't fall in the dogma and cargo cult traps: listen, learn, but pick your choices