Hacker News new | ask | show | jobs
by epmatsw 3245 days ago
I think the issue is that you do want non-strict equality 90% of the time, but correctly identifying the 10% where you need strict equality is difficult and impossible to automate. So you end up weighing cognitive overhead and subtle type bugs vs an extra equals sign, which seems like an easy choice to me.

And I think the GP was talking about an existence check with the null comparison, like “did this function receive the argument false or no argument at all?”