摘要: [转载自: http://mindhacks.cn/2009/03/09/first-principles-of-programming/] 半年前,JoelOnSoftware和CodingHorror合搞的stackoverflow.com刚上线不久,我兴冲冲地跑过去扔了一个问题:你们认为编程的首要原则是什么? 作为我的学习原则的一个实践: 8. 学习一项知识,必须问自己三个重要问题:1. 它... 阅读全文
posted @ 2009-05-09 16:27 能巴 阅读(268) 评论(0) 推荐(0)
摘要: [Copied from C++ coding standards-chapter 9] Easy on yourself, easy on the code: All other things being equal, notably code complexity and readability, certain efficient design patterns and coding id... 阅读全文
posted @ 2009-05-09 16:16 能巴 阅读(381) 评论(0) 推荐(0)
摘要: [Copied From C++ Coding Standards--chapter 8] We define premature optimization as making designs or code more complex, and so less readable, in the name of performance when the effort is not justifi... 阅读全文
posted @ 2009-05-09 16:04 能巴 阅读(259) 评论(0) 推荐(0)