Hi, Coding standards are something I looked at quite a while back, infact I think it was as soon as I had more than one coder working on Stormbringers code. Our current coding standards guide is based off of this document http://www.possibility.com/Cpp/CppCodingStandard.html , much of this will be irrelevant if you are not and do not intend to use any C++ , however it is a pretty good guide and explains many good practices and ultimately the reasons for them and can be applied to C coding as well.
Hope this is some help. -Balo- ----- Original Message ----- From: "dat one guy" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, August 30, 2002 2:33 PM Subject: [OT] C Coding Standards > Hello all, > > I was working with a few snippets and come to wonder something, is there some > sort of standard C coding style? I mean, like where to put the { in a function, > I put it after the function header, but some others put it on the same line > ie > void blah ( void) > { > ... > } > void blah (void) { > ... > } > Same with if..else statements. Also, tabs vs spaces, and how many? 2? 4? 8? > Also, is there some sort of standard naming convention for variables and such? > > I mean, none of this is really a big deal, it all comes out the same, I know. > > Thanks for any info, and this is not meant to be a put down to how people write > code, to each his own, but I was just wondering... > > -Xanth > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom

