2010年1月7日 星期四
Q40: 製作電腦程式仍然是人類所曾承擔過最困難的工作之一;要精通程式製作需要才能(諸如分析、溝通...等能力),創造力,智慧,邏輯,創建與使用抽象,以及經驗 ─ 即使有最好的工具。
Programming a computer is still one of the most difficult tasks ever undertaken by humankind; becoming proficient in programming requires talent, creativity, intelligence, logic, the ability to build and use abstractions, and experience - even when the best tools are available. - Timothy Budd (Introduction to Object-Oriented Programming, 1991, pp.2)
2009年6月22日 星期一
Q32: 除錯的難度幾乎是寫該程式碼的兩倍。因此,如果你把程式寫的太精巧,那們,你大概不足夠聰明到可以解決你程式的錯誤。B.W. Kernighan
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. B.W. Kernighan.
2009年3月21日 星期六
2009年1月30日 星期五
Q20: 好的程式本身就是最好的註解。加程式註解前想想:如何改善程式碼讓我不需要加這個註解?改善程式碼並加上註解讓你的程式更清楚 - Steve McConnell.

Good code is its own best documentation. As you're about to add a comment, ask yourself, "How can I improve the code so that this comment isn't needed? Improve the code and then document it to make it even clearer. - Steve McConnell.
2009年1月15日 星期四
Q18: 隨便找個傻瓜都能寫出電腦能懂的程式碼。好的程式設計師寫人能看得懂的程式碼 - Martin Fowler.

Any fool can write code that a computer can understand. Good programmers write code that humans can understand. - Martin Fowler.
訂閱:
文章 (Atom)