4 ms·
This is not really a Tim Toady. && and and has different use cases. One (ruby/perl: &&, python: and) is used to evaluate truthness of two expressions. The oth
by eCa 14y ago
This is not really a Tim Toady. && and and has different use cases.
One (ruby/perl: &&, python: and) is used to evaluate truthness of two expressions.
The other (ruby/perl: and, python: N/A) is more of a program flow operator. Now that I think about it.. If it is a Tim Toady, it is more of _if_ vs _and_ rather than _&&_ vs _and_.
- ch0wn 14y agoGood point, I haven't thought about it that way.