Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!shelby!neon!Gang-of-Four!dkeisen From: dkeisen@Gang-of-Four.Stanford.EDU (Dave Eisen) Newsgroups: comp.lang.c Subject: Re: a style question Message-ID: <1990Oct5.051449.29104@Neon.Stanford.EDU> Date: 5 Oct 90 05:14:49 GMT References: <29106:Oct404:03:1090@kramden.acf.nyu.edu> Sender: news@Neon.Stanford.EDU (USENET News System) Organization: Sequoia Peripherals Lines: 23 In article <29106:Oct404:03:1090@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: >In article bumby@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@Gang-of-Four.Stanford.EDU Office: (415) 967-5644 1447 N. Shoreline Blvd. Mountain View, CA 94043