Here is a (monastery) classic on the subject by Abigail-II: My coding guidelines
In reply to Re: Help with Coding Style by erix in thread Help with Coding Style by Seij