News for hackers. Stuff that matters.
Re:Lua: Good, bad, and ugly parts by vor_ on Saturday March 09, 2013 @07:43PM (#5350179)
It's also not true:

  > if 0 then print "true" end
  true
  > 0 == true
 => false
I know why this is the case. But it's a logical inconsistency for users of the language.
Re:Lua: Good, bad, and ugly parts by ufo on Saturday March 09, 2013 @11:20PM (#5350687)
Stop trolling please. You are advocating for `==` doing type coercion of arguments and that is almost always a misfeature in any language that has that (and the fix usually involves adding an ugly `===` operator after the fact)