I try as hard as possible to keep the subr's in the same order as they are
called (not always possible with conditions in the calling portion of the
program).  Therefore someone just reading down the program can get a good
feeling for what's happening if that's the way they like to read it.  I
*definitely* prefer the structured format.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]


>I've seen programs that have 40 lines of main program code and
>99% of them are GOSUBs. That is just a horrible way to design an
>application, IMO.

That is interesting.  I prefer the main routine to be a stack of well
named routine or function calls with minimal flow control and no detail. I
find it makes debugging easier to push the detail to the bottom. Different
strokes...

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to