On Oct 18, 2004, at 11:28 AM, James Newtons Massmind wrote: >> >> It is time for me to make my annual post of my style guide. >> Here are the Ten Commandments of C Style >> Blasphemous heathen! The only thing there that I have objections to is the idea that indentifiers should be unique in the first 6 to 8 characters. In particular, it can frequently be a good idea to have structure name members include the structure: struct udptype_ { unsigned short udp_sport; unsigned short udp_dport; unsigned short udp_length; unsigned short udp_cksum; } udp; This can help considerable when searching, since things like "length" by themselves are distressingly common. once you use up 4+ characters on structure prefix, you don't have much left if you want things unique in 6 characters. (of course, the above example IS...) BillW _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist