in reply to Re: Re: Re: Re: OR operator
in thread OR operator
Switch the two operands and you get a syntax error:perl -le'print "Yep" if $_ = 42'
Me? I still use the former, because if i make that mistake i want to be punished ;) ... but i can definitely see recommending the later to someone else. But ... as for 'readabilty', i say use whichever makes the most sense to the author.perl -le'print "Yep" if 42 = $_'
Is today's date April 10th or the 10th of April? ;)
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) 5Re: OR operator
by Juerd (Abbot) on Apr 11, 2003 at 00:42 UTC |