|
|
: You said it: it would open the door to needlessly confusing code.
Why it would be confusing code?
If I write: #if(a>0 & b>0)
does it matter whether the part "b>0" is evaluated or not as long as the
result is correct?
Actually, doing it C-like can produce faster parsing:
#if(a>0 & extremely_long_calculation(a)) ...
If a<=0 then the extremely_long_calculation() macro is not called, saving
potentially a lot of time.
Of course you can do it in the long way:
#if(a>0)
#if(extremely_long_calculation(a))
...
#end
#end
but why should you do it yourself when the povray parser can do it
automatically for you?
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
"The derivative of sin(2x) is cos(2x)" - Matt Giwer
Post a reply to this message
|
|