Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Useless <c>unless</c>by tilly (Archbishop) |
on Aug 07, 2005 at 06:05 UTC ( [id://481622]=note: print w/replies, xml ) | Need Help?? |
My issue with unless is that humans do not do De Morgan's Laws on the fly while debugging. We do it fine while developing and reading software, but when we're trying to figure out what happened, and we have several variables juggled around, we do very poorly at figuring out whether we hit an unless. I didn't believe this until I personally encountered it. Therefore as soon as I have 2 variables and in a non-trivial combination, I write an if.
In Section
Meditations
|
|