News for hackers. Stuff that matters.
Re:Overview of JavaScript ES6 features by dsp1234 on Monday October 24, 2016 @11:48AM (#12779861)
I've started to use const for every variable, then if I get an linting error about modifying a const, I switch it to let.

It took about two weeks to train my hands/brain to type const before let/var.

Re:Overview of JavaScript ES6 features by rkwz on Monday October 24, 2016 @03:13PM (#12781871)
I use https://www.npmjs.com/package/eslint-plugin-const-immutable for linting const usage. It even detects object props mutation!