当前位置:首页 > 资讯 > info6 > 正文

36条经典的编程格言(中英对照程序员个性签名)

发表于: 2014-09-29   作者:chaoyong918   来源:转载   浏览:
摘要: “Thefirst90%ofthecodeaccountsforthefirst90%ofthedevelopmenttime.Theremaining10%ofthecodeaccountsfortheother90%ofthedevelopmenttime.”–TomCargill “最开始的90%的代码使用了程序员90%的时间,剩下的10%的代码也需要90%的开发时间”——TomCargil

“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill 
“最开始的90%的代码使用了程序员90%的时间,剩下的10%的代码也需要90%的开发时间”——Tom Cargill(这不就是中国谚语——“行百步半九十”)

 

“In order to understand recursion, one must first understand recursion.” – Author Unknown 
“要知道什么是‘递归’,你首先需要知道‘递归’”——无名氏

 

“I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone.” – Bjarne Stroustrup 
“我总是希望电脑能和电话一样好用,现在我的这个愿望成真了,因为我已经不知道怎么使用我的电话了”– Bjarne Stroustrup

 

“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -C.A.R. Hoare
“我们有两个方法来进行软件设计:一个是让其足够的简单以至于让BUG无法藏身;另一个就是让其足够的复杂,让人找不到BUG。前者更难一些” — C.A.R. Hoare

 

 “If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.” – Gerald Weinberg
“如果建筑工人盖房子就像程序员写程序一样,那么只需要一只啄木鸟就可以摧毁人类文明”– Gerald Weinberg

 

“Nine people can’t make a baby in a month.” – Fred Brooks 
“九个人不能只用一个月就能生出孩子来”– Fred Brooks (这是对人月计算法的一个讽刺)

 

“Before software can be reusable it first has to be usable.” – Ralph Johnson
“在软件可被重用前,它必需要可以被用”– Ralph Johnson

 

程序员之歌
99 little bugs in the code,
99 bugs in the code,
fix one bug, compile it again,
101 little bugs in the code.
101 little bugs in the code….
(Repeat until BUGS = 0)

 

Any fool can write code that a computer can understand. Good programmers write code that humans can understand. –Martin Fowler
任何一个傻子都能写出让电脑能懂的代码,而只有好的程序员可以写出让人能看懂的代码 — Martin Fowler

 

Wirth’s law: Software gets slower faster than hardware gets faster. –Niklaus Wirth
Wirth定律,软件把性能变慢的速度要快于硬件把性期变快的速度。– Niklaus Wirth

 

Better train people and risk they leave – than do nothing and risk they stay.
Anonymous
就算是培训的员工会离开,这也好过他们什么也不做却不会离开。——无名氏

 

Good judgment comes from experience, and experience comes from bad judgment. –Frederick P. Brooks
“好的判断来自于经验,而经验则来自于坏的判断”

 

UNIX is simple. It just takes a genius to understand its simplicity –Dennis Ritchie
UNIX 简单的,但只有天才才能知道他的简单 — Dennis Rithie

 

Unix was not designed to stop people from doing stupid things, because that would also stop them from doing clever things.  –Doug Gwyn
Unix 并不是设计成——阻止人们做那些愚蠢的事,因为那同样会阻止人们做聪明的事。——Doug Gwyn


过早的优化是万恶之源。Premature optimization is the root of all evil!
- Donald Knuth

在水里行走和以一个需求规格进行软件开发,有一点是相同的,那就是如果水或需求都被冻住不了,那么行走和软件开发都会变得容易。Walking on water and developing software from a specification are easy if both are frozen
- Edward V Berard

Hofstadter 定理:“一件事情总是会花费比你预期更多的时间,就算是你已经考虑过本条Hofstadter 定理”。It always takes longer than you expect, even when you take into account Hofstadter’s Law.
- Hofstadter’s Law

有些遇到问题的人总是会说“我知道,我会使用正则表达式”,那么,你现在有两个问题了。(意思是:你本想用正则表达式来解决你已有问题,但实际上你又引入了“正则表达式”的一个新问题)Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems
- Jamie Zawinski

调试程序的难度是写代码的两倍。因此,只要你的代码写的尽可能的清楚,那么你在调试代码时就不需要那么地有技巧。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.
- Brian Kernighan

用代码行来衡量开发进度,无异于用重量来衡量制造飞机的进度。Measuring programming progress by lines of code is like measuring aircraft building progress by weight.
- Bill Gates

PHP被一些不合格的业余人员造就成了一个小恶魔;而Perl则是被一些熟练的但不正当的专业人员造就成了一个超级大恶魔。PHP is a minor evil perpetrated and created by incompetent amateurs, whereas Perl is a great and insidious evil, perpetrated by skilled but perverted professionals.
- Jon Ribbens

在两个场合我被问到:“请你告诉我,如果你给机器输入了错误的数字,那么,是否还能得到正确的答案?”我并不能正确领会这类想法。(注意,本引言的作者姓Babbage,这个名字和神父同名,意思是,作者在反问提问的人,你是问我还是向神父祈祷?)On two occasions I have been asked, ‘Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?’ I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.”
- Charles Babbage

在编程的时候,我们一定要想像一下,以后维护我们自己的代码的那个人会成为一个有暴力倾向的疯子,并且,他还知道我们住在哪里?Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
- Rick Osborne

现代的编程是“程序员努力建一个更大更傻的程序”和“世界正在尝试创造更多更傻的人”之间的一种竞赛,目前为止,后者是赢家。Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
- Rich Cook

我才不关于我的代码是否能在你的机器上工作!我们不会给你提供机器。I don’t care if it works on your machine! We are not shipping your machine!
- Ovidiu Platon

我总是希望我的电脑能够像电话一样容易使用;我的这个希望正在变成现实,因为我现在已经不知道怎么去使用我的电话了。I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone.
- Bjarne Stroustrup

计算机是一种在人类历史上所有发明中,可以让你比以前更快地犯更多的错误的发明,同样,其也包括了“手枪”和“龙舌兰酒”这两种发明的缺陷。A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila.
- Mitch Ratcliffe

如果调试程序是一种标准的可以铲除BUG的流程,那么,编程就是把他们放进来的流程。If debugging is the process of removing software bugs, then programming must be the process of putting them in.
- E. W. Dijkstra

教一群被BASIC先入为主的学生,什么是好的编程风格简直是一件不可能的事。对于一些有潜力的程序员,他们所受到的智力上的伤害远远超过了重建他们的信心。It is practically impossible to teach good programming style to students that have had prior exposure to BASIC. As potential programmers, they are mentally mutilated beyond hope of regeneration.
- E. W. Dijkstra

理论上来说,理论和实际是一样的。但实际上来说,他们则不是。In theory, theory and practice are the same. In practice, they’re not.
- Unknown

只有两个事情是无穷尽的:宇宙和人类的愚蠢。当然,我现在还不能确定宇宙是无穷尽的。Two things are infinite: the universe and human stupidity; and I’m not sure about the universe.
- Albert Einstein

Perl这种语言就好像是被RSA加密算法加密过的一样。Perl – The only language that looks the same before and after RSA encryption.
- Keith Bostic

我爱“最终期限”,我喜欢“嗖嗖嗖”的声音就像他们在飞一样。I love deadlines. I like the whooshing sound they make as they fly by.
- Douglas Adams

说Java好的是因为它跨平台就像好像说肛交好是因为其可以适用于一切性别。Saying that Java is good because it works on all platforms is like saying anal sex is good because it works on all genders
- Unknown

XML就像是一种强暴——如果它不能解决你的问题,那只能说明你没有用好它。XML is like violence – if it doesn’t solve your problems, you are not using enough of it.
- Unknown

爱因期坦说,自然界中的一切一定会有一个简单的解释,因为上帝并不是反复无常和独裁的。当然,不会有什么信仰能程序员像爱因期坦那样感到舒服。Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer.
- Fred Brooks


36条经典的编程格言(中英对照程序员个性签名)

编辑推荐
每个程序员都该知道的10大编程格言(Kevin Pang): 编程格言1:无风不起浪 (There is no smoke wit
每个程序员都该知道的10大编程格言(Kevin Pang): 编程格言1:无风不起浪(There is no smoke with
每个程序员都该知道的10大编程格言(Kevin Pang): 编程格言1:无风不起浪(There is no smoke with
每个程序员都该知道的10大编程格言(Kevin Pang): 编程格言1:无风不起浪 (There is no smoke wit
每个程序员都该知道的10大编程格言(Kevin Pang): 编程格言1:无风不起浪 (There is no smoke wit
每个程序员都该知道的10大编程格言(Kevin Pang): 编程格言1:无风不起浪 (There is no smoke wit
转载自:http://blog.csdn.net/hguisu/article/details/7497170 每个程序员都该知道的10大编程格言
8 格言
我贫穷、低微、不美丽,但当我们的灵魂穿过坟墓站在上帝面前时,我们是平等的 --简爱 2013年02月03
首先附上运行结果: 如果你没有学过listview请你先看一看基本知识。不想再说的那么细了 太多了。 首
  据微软中国MSN签名频道报道,微软发布了2010年度经典MSN签名TOP10,该评选活动从众多网友提供的
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号