3 ms·
Whether right or wrong, I personally prefer the Python way and I'm not a particular fan of Tim Toady. Especially when working in teams, it's simply easier if yo
by ch0wn 14y ago
Whether right or wrong, I personally prefer the Python way and I'm not a particular fan of Tim Toady. Especially when working in teams, it's simply easier if you don't have to make up rules, but it's clear upfront what to use, because there is no need for discussion.
- eCa 14y agoThis 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.