On Wed, Aug 30, 2000 at 10:58:45PM -0700, Nathan Wiger wrote:
> We already have a trailing if statement, so this argument is edgy, at
> best. The only thing that it can't do is easily span multiple lines and
> expressions. Any reason why not other than style? Seems like the obvious
> extension. 

I don't think it's a style issue at all.  Well, not a programming
style issue, but perhaps a cognitive style issue.  

When reading code, it's real easy to read "do this if that" (ignore the
overloaded "do") but it's a little more tricky to read "do blah blah
blah blah blah blah blah blah if that" *especially* when the things
being done span multiple lines.  I think it's just good design to only
have simple statement conditional modifiers.

In real life, do you ever purposefully give someone a long list of things
to do before telling them that doing them is conditional on something?

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to