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

3 pointsposted 10 months ago
by pierres7

3 Comments

toastercat

10 months 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

10 months 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

10 months ago

[deleted]