3 ms·
I just want to preface this saying that most of the JavaScript I do is on the backend. > What you wish you'd known before getting into JavaScript? 1. Start wi
by nadavami 8y ago
I just want to preface this saying that most of the JavaScript I do is on the backend.
> What you wish you'd known before getting into JavaScript?
1. Start with plain JS. Before jumping picking and learning frameworks, helper libraries (like lodash) make sure you understand what the language in it's current form can do.
2. Make sure your resources are current. Like @flaviocopes says, JavaScript has changed a lot since 2015. If something seems ugly or messy check to see if a cleaner syntax has been introduced in ES6+
3. Pick a style and stick with it. JS is quite flexible in its syntax, I'd recommend using a linter from the beginning. I personally enjoy using Standard, but anything that is widely adopted will do.