Mail Archives: djgpp/2000/04/06/15:06:07
james archer <snowphoton AT mindspring DOT com>:
> 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
- Raw text -