Re:Using “and” and “or” in Ruby
by CodeMage on Monday August 02, 2010 @02:33PM
(#1568539)
It's always easy to claim something is okay when you "don't even know [language] yet", isn't it? ;)
All joking aside, the problem with this is not that "non-experts" don't understand what the code does at all. It's that they don't understand all that it does. If you never read anything that warns you about the difference between "and/or" and "&&/||" (or if you skim over it), it can bite you really bad.
All joking aside, the problem with this is not that "non-experts" don't understand what the code does at all. It's that they don't understand all that it does. If you never read anything that warns you about the difference between "and/or" and "&&/||" (or if you skim over it), it can bite you really bad.