错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

How Do I Make Sure That I (and Others) Still Understand My Program Later?

  • Joachim L. Zuckarelli

摘要

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.