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

Difficulty isn't the issue, easily differentiating what was changed in
source history is the issue.  When an single line IF is converted to a
block IF there is a change to a line and additional insertions.  When
starting with the block if from the start, if more needs to be done
based on the conditional there is insertions without the change to the
original line.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith W.
Roberts
Sent: Friday, September 30, 2005 12:23 PM
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/

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/115 - Release Date:
9/29/2005
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to