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

=== seems almost more dangerous. It's a lot easier to tell == from Objects.equals(a,b) than == from ===.


Seriously?


Yes.

Look, languages are moving away from permitting constructs like "if (x = 1)" because it's difficult to distinguish from "if (x == 1)". Adding "if (x === 1)" into the mix is arguably a step backwards in terms of clarity.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: