News for hackers. Stuff that matters.
Re:JavaScript Equality Minesweeper by alangpierce on Monday September 17, 2018 @11:17AM (#18006719)
> does it not make sense to just remove it from the language completely?

The way syntax is "removed from the language" in JS is by introducing commonly-used lint rules that disallow them, and that has already happened with `==`: https://eslint.org/docs/rules/eqeqeq . As long as the community makes it so a standard project setup has a linter with good defaults, `==` can effectively be removed from JavaScript without having to break nearly every website in existence (which is what would happen if browsers decided to start crashing on `==`).

There are no comments on this comment yet.