How Do I Make Sure That I (and Others) Still Understand My Program Later?
摘要
This chapter is about how to make your program code more understandable, both for yourself and for others who have to work with it. Three of the most important techniques here are formatting the program source code in a way that is understandable, naming variables, functions, and other program elements in a meaningful way, and writing comments into your source code. The latter in particular is one of the least popular activities among programmers but can prove to be one of the most valuable.