The Nineth chapter mainly talk about the normative code, first of all to have the appropriate blank line, pay attention to the branch alignment and indentation, naming rules: The name of the identifier should be intuitive, you can hope to understand the text, preferably in English words or their combination, the length of identifiers should meet the minimum length of the maximum information principle, Long English words should use some common and reasonable abbreviations or abbreviations of application domain terminology and so on, declare, as far as possible in the variable life is initialized, only when the disposition of the variable depends on some computed values can not be initialized and so on. For the software program coding program annotation problems to note that the purpose is to help the program reading comprehension, not too much or too little, the annotation language must be accurate and concise to avoid the use of abbreviations, memory anomalies may be due to the constant memory leaks caused by or may be caused by illegal access to memory.
Methodology and practice of software engineering theory Nineth Chapter