Good advice, but this is a huge topic that span many chapters in books. We can possibly move this to an appendix but the intent of this document is generally to be able to write a code style sniffer and this would be difficult to codify.