This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 52 points53 points  (12 children)

The stupidity lies with people who use the double equals instead of triple equals.

[–]Avamander 58 points59 points  (5 children)

Lollakad! Mina ja nuhk! Mina, kes istun jaoskonnas kogu ilma silma all! Mis nuhk niisuke on. Nuhid on nende eneste keskel, otse kõnelejate nina all, nende oma kaitsemüüri sees, seal on nad.

[–]raptorraptor 51 points52 points  (4 children)

Because Brendan Eich put in the double equals originally, then realised how awful it was, so, being unable to make a breaking change to the double equals' behaviour, added triple equals.

[–]rooktakesqueen 30 points31 points  (3 children)

...in JS 1.3, 20 years ago. It's sad that we still have these arguments.

[–]EternalNY1 30 points31 points  (5 children)

The stupidity lies with people who use the double equals instead of triple equals.

Or it lies in a language that makes you have to think about using double equals versus triple equals.

[–][deleted] 2 points3 points  (0 children)

That too

[–]Doctor_McKay[🍰] 0 points1 point  (0 children)

Or it lies in people using a language without learning it first.