Wonderful! Thanks for posting it! -- Lawrence Lile, P.E. Electrical and Electronic Solutions Project Solutions Companies www.projsolco.com 573-443-7100 ext 221 > -----Original Message----- > From: James Newtons Massmind [mailto:jamesnewton@massmind.org] > Sent: Monday, October 18, 2004 12:28 PM > To: 'Microcontroller discussion list - Public.' > Subject: RE: [AD] Looking for work (style guide) > > http://www.piclist.com/techref/language/ccpp/10CStyle.htm > > I hope you don't mind, but I liked how it explained the reasons. > > --- > James. > > > > > -----Original Message----- > > From: piclist-bounces@mit.edu > > [mailto:piclist-bounces@mit.edu] On Behalf Of Lawrence Lile > > Sent: 2004 Oct 18, Mon 06:09 > > To: Microcontroller discussion list - Public. > > Subject: RE: [AD] Looking for work (style guide) > > > > It is time for me to make my annual post of my style guide. > > Here are the Ten Commandments of C Style > > > > I am sure anyone here can add a few more, and some of them > > will be more useful than mine, too. > > > > > > -- Lawrence Lile, P.E. > > Electrical and Electronic Solutions > > Project Solutions Companies > > www.projsolco.com > > > > > -----Original Message----- > > > From: William "Chops" Westfield [mailto:westfw@mac.com] > > > Sent: Saturday, October 16, 2004 11:47 AM > > > To: Microcontroller discussion list - Public. > > > Subject: Re: [AD] Looking for work (style guide) > > > > > > On Oct 16, 2004, at 8:20 AM, Charles Craft wrote: > > > > > > > I don't suppose there is info from your style guide that > > can be made > > > > public? > > > > > > Hmm. I dunno. Most of "style" is by definition arbitrary. So we > > > have stuff like "each indentation level is 4 spaces." > > "lines should > > > not 80 columns in width." > > > /* > > > * multiline comments look like this > > > */ > > > else if is "cuddled": > > > if (foo) { > > > bar(); > > > } else { > > > baz(); > > > } > > > "Indentifiers should not have mixed case names." > > > typedef struct iptype_ { > > > int a,b,c; > > > } iptype; > > > > > > BillW > > > > > > _______________________________________________ > > > http://www.piclist.com > > > View/change your membership options at > > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > > --- > > > Incoming mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.762 / Virus Database: 510 - Release Date: 9/13/2004 > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.762 / Virus Database: 510 - Release Date: 9/13/2004 > > > > > > > > > _______________________________________________ > http://www.piclist.com > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.762 / Virus Database: 510 - Release Date: 9/13/2004 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.762 / Virus Database: 510 - Release Date: 9/13/2004 _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist