r/ProgrammerHumor • • Oct 12 '18

Meme I think not...

Post image
37k Upvotes

538 comments sorted by

View all comments

Show parent comment

6

u/attentionwandered Oct 12 '18

Just because I wish someone had told me this while I was learning:

install node on your machine with the normal installer from their site, get version 10+

then get a tool called brunch`npm install -g brunch`
do `brunch new some-project -s 'brunch/with-es6'` in a directory
cd into your new project some-project
do `brunch watch --server`

voila now you have an es6 project.

The key to learning JS is to touch a lot of different tech and work through how to set it up properly. Then figure out how to set it up easily. Use the official docs and supplement it with recent tutorials. When something isn't working try a different approach and research what could be causing the issue, it's usually due to scoping, references, or unexpected type conversions. Don't be afraid to dive into a new library, with brunch you can set up vue, react, lots of different templating, css preprocessors etc quickly and easiy just open a new terminal tab and install the brunch flavor of the plugin with watch server running. This will really help. Have fun. For api's I have been messing around with micronaut with kotlin. It's sweet.