News for hackers. Stuff that matters.
Re:Swift WTF by quarterto on Sunday March 15, 2015 @01:14PM (#9207195)
There is never a good reason to use ==.
Re:Swift WTF by AnkhMorporkian on Sunday March 15, 2015 @01:17PM (#9207208)
I totally agree, but they were bringing up the insane equality rules in PHP using the == operator, so I did likewise in Javascript. Both languages luckily have fantastically logical === operators.