- Write clean code
- Using the code the full cycle (assembly of codes, if the same code is repeated, defined as a function or took the class codes to reuse)
- Learning the Standard Library
- Keep the programming style (try to develop a personalized code style)
- Use consistent, clear nomenclature
- By saving data format specification (data not save two identical format)
- Distinguish between code and data (data-independent code logic should try to distinguish)
Principles of good writing code
Guess you like
Origin blog.csdn.net/chengsilin666/article/details/82745097
Ranking