Programming the Manly Way 1. USE POINTERS YOU DUMB CHINKS 2. variable reuse is okay 3. USE FREE() AND MALLOC() new/delete 3a. USE REALLOC() TOO 4.use const 4. use BOTH malloc and free, not just malloc 5. use -Wall 6. DOCUMENT THE CODE 7. READ MSDN AND GOOGLE OR PERISH I'm going ot try and get some kind of foundation uop 8. don't be afraid of using bounds checks 8a. don't be afraid of using assert90 *assert() 8b. don't be afraid to put sanity checks into code 9. use header files THE RIGHT WAY 10. macros are good 11. configure scripts are sexy 12. MACHINE DEPENDINT HACKS ARE NOT COOL 13. ommited 14. ntohl() htonl() are your friends I don't use header files the right way lol 15. USE STRNCPY AND FRIENDS INSTEAD OF STRCPY UNLESS YOU ARE POSITIVE THE INPUT WON'T OVERFLOW 15a. never use gets() 16. variable arg functions are sexy 16a. if you make them right and uh thats all i can think of oh 17. USE THE SIZE MODIFIER IN PRINTF() YOU DOLTS "%20s"