Pierre Brial wrote:
May be my question is not Palm-specific, but as I program only in this
environnement...

I observed that most programmers seem to follow the same patterns for
source code presentation. I mean how the comments are displayed, what
letters to capitalize in function names, variables, etc...

Is there a published set of rules for good code presentation ?

yes, several of them. and some people are fanatical about following them. here's the one I like:
http://lxr.linux.no/source/Documentation/CodingStyle?v=2.6.8.1


The 8th of the 10 C commandments according to Henry Spencer is:
Thou shalt make thy program's purpose and structure clear to thy fellow man by using the One True Brace Style, even if thou likest it not, for thy creativity is better used in solving problems than in creating beautiful new impediments to understanding.
( The other 9 are here if anyone's interested: http://www.lysator.liu.se/c/ten-commandments.html )


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to