Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think the reason people object to this behavior, even when they do understand it is that it makes the obvious default (==) dangerous. It's especially dangerous in the hands of the sort of non-experts for whom it's intended to make life easier.


== really isn't that dangerous unless you use it dangerously. Comparing non-numeric strings to numbers is already odd.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: