Write an article or Share a link

Stop Using === Everywhere

4 years ago
Stop Using === Everywhere by html hints

Many developers always use === in favor of == but why?

There are several tutorials supporting incorrect information and myths on the internet. In addition to that, many linting rules and popular websites are opinionated towards always preferring ===.

These all lead to lots of programmers excluding part of the language and treating it as a defect instead of expanding their understanding.

Here are two use cases where it’s better to use == to illustrate the point.


We use cookies to ensure better User Experience. Read More