当前位置: 代码迷 >> Java相关 >> [讨论]当你编程时...
  详细解决方案

[讨论]当你编程时...

热度:345   发布时间:2006-11-09 21:21:50.0
[讨论]当你编程时...
  1. Any fool can write code that a computer can understand. Good programmers write code that humans can understand. (Fowler)
  2. Debug only code - comments can lie.
  3. If you have too many special cases, you are doing it wrong.
  4. Get your data structures correct first, and the rest of the program will write itself.
  5. Testing can show the presence of bugs, but not their absence.
  6. The first step in fixing a broken program is getting it to fail repeatedly.
  7. The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.
  8. The cheapest, fastest, and most reliable components of a computer system are those that aren't there.
  9. Good judgement comes from experience, and experience comes from bad judgement.
  10. Don't use the computer to do things that can be done efficiently by hand.
  11. [Thompson's Rule for first-time telescope makers] It is faster to make a four-inch mirror then a six-inch mirror than to make a six-inch mirror.
  12. If you lie to the computer, it will get you.
  13. Inside of every large program is a small program struggling to get out.
搜索更多相关的解决方案: face  computer  understand  correct  special  

----------------解决方案--------------------------------------------------------
Debug only code - comments can lie.

哪个GGJJ来帮我翻译一下这句?
THANKS.
----------------解决方案--------------------------------------------------------
不会吧,把这个发到JAVA版来了
----------------解决方案--------------------------------------------------------
应该是
用代码调试,不要相信注释吧
----------------解决方案--------------------------------------------------------
看不明白
----------------解决方案--------------------------------------------------------
以下是引用千里冰封在2006-11-9 21:25:42的发言:
不会吧,把这个发到JAVA版来了

发到这里有什么不妥么??

偶是新人,不好意思


----------------解决方案--------------------------------------------------------

呵呵,没事,发了就发了吧


----------------解决方案--------------------------------------------------------
感觉很有经验的人总结的

----------------解决方案--------------------------------------------------------
  相关解决方案