News for hackers. Stuff that matters.
Re:HN: I've listed all best practices that any JavaScript en... by peutetre on Friday November 22, 2024 @08:14PM (#42218606)
> 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". I think that significantly undermines your claim.

Re:HN: I've listed all best practices that any JavaScript en... by keb_ on Sunday November 24, 2024 @10:19AM (#42228315)
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.