in reply to Re^3: Burned by precedence rules
in thread Burned by precedence rules
While I understand your point and would not dream of trying to convince you to change, I usually try to use unless in very specific contexts. If there is only one condition and it would normally be expressed as a negative, I find unless {cond} much cleaner than if !{cond}.
I can understand the point about people not being able to DeMorganize in their heads. (I knew a really, really good programmer once who regularly had problems with and and or) But, I have found that sometimes unless is clearer (just like in English.)
G. Wade
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Burned by precedence rules (not)
by tye (Sage) on Dec 27, 2008 at 06:53 UTC | |
by gwadej (Chaplain) on Dec 28, 2008 at 20:53 UTC | |
Re^5: Burned by precedence rules
by tilly (Archbishop) on Dec 26, 2008 at 15:20 UTC | |
by gwadej (Chaplain) on Dec 26, 2008 at 15:39 UTC |
In Section
Meditations