home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!fg30.rz.uni-karlsruhe.de!gm08
- From: gm08@fg30.rz.uni-karlsruhe.de (Steffani)
- Newsgroups: comp.lang.c
- Subject: Re: C code Layout
- Date: 6 Jan 1993 13:36:05 GMT
- Organization: University of Karlsruhe, Germany
- Lines: 28
- Message-ID: <1ien85INN9p4@nz12.rz.uni-karlsruhe.de>
- References: <1992Dec17.081451@eklektix.com> <771@ulogic.UUCP> <13714@optilink.COM>
- Reply-To: gm08@rz.uni-karlsruhe.de
- NNTP-Posting-Host: fg30.rz.uni-karlsruhe.de
-
- In article <13714@optilink.COM> brad@optilink.COM (Brad Yearwood) writes:
- >In article <771@ulogic.UUCP>, hartman@ulogic.UUCP (Richard M. Hartman) writes:
- >#
- ># ... am I in the minority here by preferring style C:
- >#
- ># keyword (condition)
- ># {
- ># statement1;
- ># statement2;
- ># statement3;
- ># }
- I still prefer
- keyword(condition)
- {
- statement1;
- .
- .
- statementX;
- }
- Why? I like brackets wich belong together in ONE column.
- We use long (too long) names for functions and variables,
- so the statements become very long. For better readablity(?)
- i prefer lines not longer than 70 columns. So I do not like
- more than 2 columns indent.
- hans friedrich steffani
- .
-
-
-