2009年3月7日
摘要: Chapter 7 High-Quality Routines (Page 198-223) 高质量的子程序 7.1 Valid Reasons to create a Routine 创建子程序的正当理由 1. 降低复杂度 2. 引入中间,易懂的抽象 3. 避免代码的重复 代码分解(decomposition) 4. 支持子类化覆盖(subclassing override) 5. 隐藏顺序... 阅读全文
posted @ 2009-03-07 10:22 SamZhang 阅读(502) 评论(0) 推荐(0) 编辑