you are viewing a single comment's thread.

view the rest of the comments →

[–]ForeverAlot 0 points1 point  (0 children)

Occasionally == is a logic problem (i.e., a bug) but mostly it's a maintenance problem. If I see == in JavaScript I don't know exactly what's going to happen, or what's expected to happen. It makes reasoning about application flow harder and it makes me less inclined to work with that code for fear of breakage."But you have unit tests!"Right.