lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Given all the traffic concerning Lua 5.3.0, I figured it'd be good to
share this:

http://dorey.github.io/JavaScript-Equality-Table/

Some choice comments from reddit [1]:

"I'm disappointed that it's symmetrical. Come on Javascript! You can
do better than that."

"At least it's not transitive: "0" == 0 is true, 0 == "" is true, but
"0" == "" is false. Insanity is saved!"

Hopefully helps ground some of us on why we so aggressively discuss
Lua's design choices =)

[1] http://www.reddit.com/r/programming/comments/21ezh3/javascript_equality_table/

-- 
Patrick Donnelly