HN: I've listed all best practices that any JavaScript engineers should know

3 pointsposted a year ago
by pierres7

3 Comments

toastercat

a year ago

I find the engineers I've met who most boldly espouse the "Don't comment what it does, write what it does" philosophy are the ones who write code that I often desperately wish had comments.

peutetre

a year ago

> I always recommend to use only US English in your code. If you mix both British and American spellings, it will introduce some sort of confusion for later and might lead to interrogations for new developers joining the development of your software.

No it won't.

> Finally, I’ve noticed that it's easier to mispell words with the British spelling like typing “colur” instead of “colour”.

You misspelt "misspell". That significantly undermines your claim.

user

a year ago

[deleted]