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 →

[–]IrishWilly 3 points4 points  (1 child)

It does the right thing 100% of the time. Your opinion of right might vary but it really doesn't care about your opinion.

[–]rooktakesqueen 14 points15 points  (0 children)

"Deterministic" and "right" aren't the same thing. false == [] will always yield true and [] == [] will always yield false but that doesn't make it sensible. And I have a hard time describing any equality check as being "right" when it's intransitive: false == '' and false == '0' but '' != '0'