I too prefer blocked if's.  Just find it easier, *much* easier to read.  And
to answer, it's not hard to change, it's just a PITA ;).

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Keith W. Roberts
Sent: Friday, September 30, 2005 11:23
To: [email protected]
Subject: RE: [U2] Good Programming Practice Question.........


C'mon!  How difficult *is* it with your editor to convert it to block format
when either clause becomes multi-line?!?

-Keith

----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Friday, September 30, 2005 10:51 AM
To: [email protected]
Subject: RE: [U2] Good Programming Practice Question.........

>> I don't mind if-then-else on one line ... as long as it fits on one
>> *screen* line. :) IF SOME.FLAG THEN GOSUB DO.SOMETHING ELSE GOSUB
>> DO.SOMETHING.ELSE
>
> And I'm completely opposite, preferring a full block IF statement all
> the time.  There's four different ways that IF can be structured, and
> the full block structure provides the most flexibility for maintenance
> (in my opinion, of course).  Yeah, it takes more lines, but it's fewer
> lines to change when an inline IF ends up getting converted to the
> partial or full block format, and it's been my experience that
> comparison programs get more accurate results with insertions and
> deletions vs. changed lines.
>
> -K
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to