General issues in using variables Code complete reading notes(10) 声明即初始化,避免非预期值错误最小化变量的作用域使用相同变理的语句尽可能集中在一起早期绑定减少灵活性同时减少复杂度,反之亦然每个变量用于唯一的用途