Re: C Language Style Guide
On Wed, 2005-01-26 at 10:21, Michael Madden wrote: Is there an accepted standard C language style guide. I'm starting to develop and test my applications on FreeBSD, and I want to ensure my code is readable and maintainable. I've been able to find specific project's guidelines like the following, but I can find a general standard. Does ANSI or POSIX dictate anything about style or coding standards? Apache: http://httpd.apache.org/dev/styleguide.html GNU: http://www.gnu.org/prep/standards/ Thanks, Mike man indent This may give you [a] some guidance [b] a tool that you can setup with a set of project defaults. -- Murray Taylor Special Projects Engineer - Bytecraft Systems Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ***This Email has been scanned for Viruses by MailMarshal.*** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
C Language Style Guide
Is there an accepted standard C language style guide. I'm starting to develop and test my applications on FreeBSD, and I want to ensure my code is readable and maintainable. I've been able to find specific project's guidelines like the following, but I can find a general standard. Does ANSI or POSIX dictate anything about style or coding standards? Apache: http://httpd.apache.org/dev/styleguide.html GNU: http://www.gnu.org/prep/standards/ Thanks, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: C Language Style Guide
On 2005-01-25 17:21, Michael Madden [EMAIL PROTECTED] wrote: Is there an accepted standard C language style guide. No. This is a common topic in comp.lang.c (despite the fact that style questions are off-topic) but there is no universal, one true style. You may find a lot of suggestions by browsing the archives of the newsgroup though. I'm starting to develop and test my applications on FreeBSD, and I want to ensure my code is readable and maintainable. If you are developing code _for_ FreeBSD, then there is a set of style guidelines. You can read it on every FreeBSD system: % man 9 style If, on the other hand, you are developing applications for your own use, the specific style doesn't matter so much, as long as you like it. Does ANSI or POSIX dictate anything about style or coding standards? Not really. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: C Language Style Guide
Michael Madden wrote: Is there an accepted standard C language style guide. I'm starting to develop and test my applications on FreeBSD, and I want to ensure my code is readable and maintainable. I've been able to find specific project's guidelines like the following, but I can find a general standard. Does ANSI or POSIX dictate anything about style or coding standards? Apache: http://httpd.apache.org/dev/styleguide.html GNU: http://www.gnu.org/prep/standards/ Thanks, Mike Giorgos Keramidas [EMAIL PROTECTED] pointed out that their is a FreeBSD style guide. There is also a GNU style guide, (http://www.nongnu.org/style-guide/) but the GNU people point out that what is more important than following their guide, it maintaining consistency within 1 project/product. -- Tabor Kelly [EMAIL PROTECTED] http://tabor.taborandtashell.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]