5 ms·
The most common `==` problem is `0 == ""`, IMO
by ufo 14y ago
The most common `==` problem is `0 == ""`, IMO
- tobyjsullivan 14y agoAs if that wasn't bad enough on it's own. "0" == false and "" == false but "0" != "" Edit: Or maybe a less defendable example of my point: "0" == 0 and "" == 0 but "0" != ""