Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
It’s not that bad, honestly, just something you get used to. When I switch to C++ after a while, I sometimes write === and when I switch back to JS after some time, I occasionally forget to use ===.
In C++ it’s obviously an error and for JS I have my IDE set to warn me about ==. I think I’ve used == in JS (and PHP) intentionally once in the last ~5 years.
It’s not that bad, honestly, just something you get used to. When I switch to C++ after a while, I sometimes write
===
and when I switch back to JS after some time, I occasionally forget to use===
.In C++ it’s obviously an error and for JS I have my IDE set to warn me about
==
. I think I’ve used==
in JS (and PHP) intentionally once in the last ~5 years.