a style question

Dave Eisen dkeisen at Gang-of-Four.Stanford.EDU
Fri Oct 5 15:14:49 AEST 1990


In article <29106:Oct404:03:1090 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
>In article <Oct.3.22.06.40.1990.21194 at math.rutgers.edu> bumby at math.rutgers.edu (Richard Bumby) writes:

>> The curious feature was that the loop and local declaration
>> of i were made into a block.  This had the advantages of emphasizing
>> the limited scope of the index variable and putting the declaration in
>> the most natural (?) place, but the disadvantage of introducing an
>> extra level of structure into the program.
>
>separate procedures. Wtf is the disadvantage of introducing structure
>into a program?
>

None. Structure is great. Unfortunately, some debuggers don't 
understand declarations that are not at the start of functions. Bummer.



--
Dave Eisen                      	    Home: (415) 323-9757
dkeisen at Gang-of-Four.Stanford.EDU           Office: (415) 967-5644
1447 N. Shoreline Blvd.
Mountain View, CA 94043



More information about the Comp.lang.c mailing list