On Tue, May 27, 2008 at 02:26:50PM -0400, James Widman wrote: > However, ISO conformance is pretty ubiquitous these days, so having > '0#' by default in cinkeys is now an anachronism. It should be > removed because it can cramp people's styles.
I have a feeling that some people *like* the '#' in the first column. I
personally disliked it initially, but have grown to like it now. Plus
somehow the '#' in the first column is pretty much ubiquitous now.
Almost every project I've hacked uses this rule!
> For example, some people like to indent
> conditionally-compiled code as in:
>
> #ifdef A
> #ifdef FOO
> #define BAR 1
> #else
> #define BAR 2
> #endif
> #else
> #define BAR 3
> #endif /* A */
The indentation I see often in code is
#ifdef A
# ifdef FOO
# define BAR 1
# else
# define BAR 2
# endif
#else
# define BAR 3
#endif /* A */
Preserving the sacred "# in first column" rule...
GI
--
If we don't succeed, we run the risk of failure. --George W. Bush
pgpyufRL9cuhp.pgp
Description: PGP signature
