Hacker News new | ask | show | jobs
by BrendanEich 4125 days ago
I would undo the implicit conversion madness around == and !=.
1 comments

Is that really a big concern today where == is heavily frowned on by just about everyone due to the above and its slowness?
== is not slow when types of operands (in typeof sense) match -- then it's equivalent to ===.

You'll find a lot of == out there, or would if only Google code search were still up.

Hey, I got to answer with the one thing I'd change. There are more than a few, and I had to pick. Losing the equivalence relation I had in the first ten days (apart from NaN != NaN of course) was my pick.