Live data from Hacker News

Cheatsheet for the modern JavaScript

github.com

1–10 of 37 posts

Re: Cheatsheet for the modern JavaScript

#3
This is probably a fine resource. Can't really judge it - I avoid JavaScript to the extend humanly possible.

But please - could someone end the devaluation of the word cheatsheet. A cheatsheet should be just that - a sheet of paper or its digital equivalent, with a few short, clear notes of essentials. Not a rambling document. Not something with a table of contents.

Re: Cheatsheet for the modern JavaScript

#9
Ugh, why can't JavaScript programmers learn from others languages first?

Making all your variables const is just going to confuse most people WHEN THEY'RE NOT CONSTANT.

Stop with the const spam already, you just look like dicks.

I am waiting for the articles in 3 years time, "const isn't constant" as the JavaScript community tediously explain to each other ref. vs value types like it's the 1990s.

Just use let and stop confusing people.

Re: Cheatsheet for the modern JavaScript

#10

Ugh, why can't JavaScript programmers learn from others languages first? Making all your variables const is just going to confuse most people WHEN THEY'RE NOT CONSTANT. Stop with the const spam already, you just look like dicks. I am waiting for the articles in 3 years time, "const isn't constant" as the JavaScript community tediously explain to each other ref. vs value types like it's the 1990s. Just use let and sto…

If the value of that "variable" is not supposed to be changed, I use const.
Post reply on HN