| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 631 人关注过本帖
标题:[讨论]当你编程时...
只看楼主 加入收藏
本无一物
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2006-11-1
收藏
 问题点数:0 回复次数:7 
[讨论]当你编程时...
  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 
2006-11-09 21:21
本无一物
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2006-11-1
收藏
得分:0 
Debug only code - comments can lie.

哪个GGJJ来帮我翻译一下这句?
THANKS.
2006-11-09 21:22
千里冰封
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:灌水之王
等 级:版主
威 望:155
帖 子:28477
专家分:59
注 册:2006-2-26
收藏
得分:0 
不会吧,把这个发到JAVA版来了

可惜不是你,陪我到最后
2006-11-09 21:25
千里冰封
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:灌水之王
等 级:版主
威 望:155
帖 子:28477
专家分:59
注 册:2006-2-26
收藏
得分:0 
应该是
用代码调试,不要相信注释吧

可惜不是你,陪我到最后
2006-11-09 21:26
bob7789
Rank: 1
等 级:新手上路
帖 子:132
专家分:0
注 册:2006-4-10
收藏
得分:0 
看不明白
2006-11-10 11:42
本无一物
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2006-11-1
收藏
得分:0 
以下是引用千里冰封在2006-11-9 21:25:42的发言:
不会吧,把这个发到JAVA版来了

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

偶是新人,不好意思

2006-11-10 17:38
千里冰封
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:灌水之王
等 级:版主
威 望:155
帖 子:28477
专家分:59
注 册:2006-2-26
收藏
得分:0 

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


可惜不是你,陪我到最后
2006-11-10 19:21
ysol
Rank: 1
等 级:新手上路
帖 子:107
专家分:0
注 册:2006-6-11
收藏
得分:0 
感觉很有经验的人总结的
2006-11-10 21:13
快速回复:[讨论]当你编程时...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.052848 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved