Date: Thu, 6 Apr 2000 12:19:26 +0200 (MET DST) From: pad2369 Message-Id: <200004061019.MAA04732@maggiore.iperbole.bologna.it> To: djgpp AT delorie DOT com References: <38EBD03D DOT 895D1680 AT mindspring DOT com> In-Reply-To: <38EBD03D.895D1680@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Sender: pad2369 AT iperbole DOT bologna DOT it Subject: Re: Bracketing: A Matter of Style Reply-To: djgpp AT delorie DOT com james archer : > I know this probably puts me in the "weirdo" category, but I have always > > coded (and probably always will), with a bracketing style like this: > > int main(void) > { > printf("Hello, World!"); > return 0; > } > > That seems to me to be the most logical way to do it, for a variety of > reasons: [...] Please, this is one of the most classic holy wars! This topic is not djgpp specific, so it should be discussed elsewhere, in more general groups, like comp.lang.c (IMHO it is not worthful to discuss it anywhere :-) If you are writing code for yourself, you are free to use whatever indenting style you like. In case you are planning to write extensions/patches for djgpp or gnu software then you should use the same style you find in the code you are modifying In both cases I miss the point in discussing about the best indenting style.... ciao Giacomo ------------------------------------------------------ Giacomo Degli Esposti - pad2369 AT iperbole DOT bologna DOT it