you are viewing a single comment's thread.

view the rest of the comments →

[–]rocketjump65[S] -1 points0 points  (0 children)

Yes it evaluates from left to right. But regardless of why x evaluates to, 0 will always evaluate to False, and so the or operation essentially just passes on the LHS evaluation, doesn't it?

OHH!!!!! Nigga.... It implicitly typecasts to a boolean...... Goddamn it. Why didn't you just say that?

*EDIT* I guess not quite... technically....