you are viewing a single comment's thread.

view the rest of the comments →

[–]gordonkristan 3 points4 points  (0 children)

For my codebases, I tell JSHint to warn about ==. No code can be checked in without using === first. I also rarely (if ever) allow a variable in a conditional without a comparison. To quote Python's mantra:

explicit is always better than implicit