有关程序的50个至理名言
2011-07-09 22:46 精诚所至 金石为开 阅读(2915) 评论(0) 编辑 收藏 举报1. "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.”- C.A.R. Hoare
有两种构成软件设计方案的途径,一种是把它做得简单到没有没有漏洞,一种是把它做到复杂的看不出漏洞。
2. "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - Martin Golding
编程的时候好像那个维护你代码的人是一个知道你住处的有暴力倾向的精神病患者。
3. "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.”- Linus Torvalds
优秀的程序员编程不是为了名或利,仅仅因为纯粹的乐趣。
4. "On two occasions I have been asked [by members of Parliament]: 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am of confusion of ideas that could provnot able rightly to apprehend the kind oke such a question." - Charles Babbage
有两次我被国会议员问道:“Mr.Babbage,如果输入计算机错误的数据,会得出正确的答案吗?’——我根本无法理解能产生此种问题的大脑的混乱逻辑。”
5. "To iterate is human, to recurse divine.”- L. Peter Deutsch
人理解迭代,神理解递归。
6. "The trouble with programmers is that you can never tell what a programmer is doing until it’s too late.”- Seymour Cray
程序员的问题就是,不到最后,你根本不知道他在干什么。
7. "Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves.”- Alan Kay
现在的大部分软件和古埃及金字塔:由成千上百的石块堆砌而成,没有结构,由大量的奴隶建立起来。
8. "Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris.”- Larry Wall
正如大家所知道的那样,程序员有三点突出的美德:懒、没耐心、自大狂。
9. "First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack.”- George Carrette
首先学习计算机理论知识,然后形成自己的编程风格,然后忘掉所学的东西,jist hack!
10. "People think that computer science is the art of geniuses but the actual reality is the opposite, just many people doing things that build on each other, like a wall of mini stones."- Donald Knuth
人们认为计算机是天才的艺术,但是事实却恰恰相反:很多人的工作是建立在在彼此的基础之上,就像一条由小石头拼成的小路一样。
11. "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 W. Kernighan
调试一段程序的难度是写出这段程序的难度的两倍,因此,如果你的代码尽可能清楚,那么你就不用费力的调试它。
12. "Measuring programming progress by lines of code is like measuring aircraft building progress by weight."- Bill Gates
以代码行数衡量程序开发进度就像用重量衡量飞机制造过程一样荒诞。
13. "Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debugging Monday's code." - Christopher Thompson
有时周一宁愿休息而不是花一周余下的时间调试周一的代码。
14. "I don't care if it works on your machine! We are not shipping your machine!" - Vidiu Platon
我不在乎它是否能在你机器上工作,我不负责向你提供机器。
15. "Computer system analysis is like child-rearing; you can do grievous damage, but you cannot ensure success." - Tom DeMarco
计算机系统分析就像抚养孩子,你可以做剧烈的破坏,但是不能确保成功。
16. "Beware of bugs in the above code; I have only proved it correct, not tried it." - Donald E. Knuth
当心上面代码里的漏洞,我只是想证明它是正确的而不是测试它。
17. "If McDonalds were run like a software company, one out of every hundred Big Macs would give you food poisoning, and the response would be, ‘We’are sorry, here’s a coupon for two more."- Mark Minasi
18. “The best programmers are not marginally better than merely good ones. They are an order-of-magnitude better, measured by whatever standard: conceptual creativity, speed, ingenuity of design, or problem-solving ability.”- Randall E. Stross
19. "Learning to program has no more to do with designing interactive software than learning to touch type has to do with writing poetry" - Ted Nelson
20. "I invented the term 'Object-Oriented', and I can tell you I did not have C++ in mind." - Alan Kay
我发明了面向类的方法,但是可以告诉你我没考虑C++。
21. "It is easier to port a shell than a shell script." - Larry Wall
22. "Perl – The only language that looks the same before and after RSA encryption."- Keith Bostic
Perl是唯一一种加密前后看起来一样的语言。
23. "Programming is like kicking yourself in the face, sooner or later your nose will bleed." - Kyle Woodbury
编程就像撞在你脸上一样,迟早你的鼻子会流血的。
24. "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
PHP被一些不合格的业余人员造就成了一个小恶魔;而Perl则是被一些熟练的但不正当的专业人员造就成了一个超级大恶魔。
25. "You can’t have great software without a great team, and most software teams behave like dysfunctional families.”- Jim McCarthy
离开优秀的团队你不可能有优秀的软件,很多开发团队像不良家庭一样。
26. "In theory, theory and practice are the same. In practice, they’re not."- Yoggi Berra
理论上,理论和实际应该一样的,但实际上,理论和实际不完全相同。
27. "C is quirky, flawed, and an enormous success." - Dennis M. Ritchie
C语言是奇怪而又缺陷的,但是巨大的成功。
28. "Perfection in design is achieved, not when there is nothing more to add, but when there is nothing left to take away."- Antoine de Saint-Exupery
应当是无从消减而非无能增加的时候,就达到了完美的境界。
29. "Talk is cheap. Show me the code." - Linus Torvalds
语言是不值钱的,给我代码。
30. "Python's a drop-in replacement for BASIC in the sense that Optimus Prime is a drop-in replacement for a truck." - Cory Dodt
Python是一种BASIC语言的替代品的观点就像Optimus是卡车的替代品一样。
31. "Good design adds value faster than it adds cost."- Thomas C. Gale
优秀的设计增加价值速度比增加成本的速度更快。
32. "The evolution of languages: FORTRAN is a non-typed language. C is a weakly typed language. Ada is a strongly typed language. C++ is a strongly hyped language." - Ron Sercely
编程语言的进化史:FORTRAN是一种无类型语言,C是弱类型语言,Ada是强类型语言,C++是类型过度语言。
33. "When someone says: 'I want a programming language in which I need only say what I wish done', give him a lollipop."- Alan J. Perlis
当我听到有人说”我想有这么一用语言,我所要做的就是说出我想实现的东西“,——还是赶紧给他个棒棒糖吧。
34. "In My Egotistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." - Blair P. Houghton
很自我的观点认为,大部分大人的C语言应该缩进6字节并盖满灰尘。
35. "For a long time it puzzled me how something so expensive, so leading edge, could be so useless. And then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match.”- Bill Bryson
长久以来我一直很困惑的是如此昂贵如此间断的东西竟然这么没用,但是突然我明白了,电脑就是能做难以置信的巧妙的事情的愚蠢的机器,而程序员就是具有做出难以置信的愚蠢事情的聪明的人,他们搭配的如此完美。
36. "FORTRAN is not a flower but a weed — it is hardy, occasionally blooms, and grows in every computer." - Alan J. Perlis
FORTRAN不是鲜花而是野草,它在每一台电脑里疯狂的生长。
37. "In the one and only true way. The object-oriented version of 'Spaghetti code' is, of course, 'Lasagna code'. (Too many layers)." - Roberto Waltman
在这种唯一正确的方式下,面向对象的Spaghetti code就是Lasagna code。
38. "The use of COBOL cripples the mind; its teaching should therefore be regarded as a criminal offense." - E.W. Dijkstra
39. "Considering the current sad state of our computer programs, software development is clearly still a black art, and cannot yet be called an engineering discipline.”- Bill Clinton
鉴于当前计算机程序的缺陷,软件开发仍然是一门黑色艺术,不能别称为一种工程学科。
40. "Fine, Java MIGHT be a good example of what a programming language should be like. But Java applications are good examples of what applications SHOULDN’T be like.”- pixadel
JAVA明确树立了程序应该有的样子,但是JAVA应用程序确定了应用不应该有的样子。
41. "I think Microsoft named .Net so it wouldn’t show up in a Unix directory listing.”- Oktal
我想因为微软命名NET,因此它没有出现在UNIX操作系统字典里。
42. "Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
不必担心它能不能正常工作,要是所有工作都运行完好,你会失业的。
43. "Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter.”- Eric S. Raymond
计算机教育并不比学习更能造就程序专家,就像颜料能使人成为绘画专家一样。
44. "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
我总是希望我的电脑能够像电话一样容易使用;我的这个希望正在变成现实,因为我现在已经不知道怎么去使用我的电话了。
45. "A C program is like a fast dance on a newly waxed dance floor by people carrying razors." - Waldi Ravens
C程序就像在一个打过蜡的地面上跳舞一样。
46. "A programming language is low level when its programs require attention to the irrelevant." - Alan J. Perlis
编程语言一旦和车上不相干的目的就是低水平的语言。
47. "They don't make bugs like Bunny anymore." - Olav Mjelde
漏洞不向复活节兔子一样了。
48. "Walking on water and developing software from a specification are easy if both are frozen." - Edward V Berard
在目的明确的基础上开发软件就像在结冰的水上行走一样简单。
49. "Lisp isn't a language, it's a building material." - Alan Kay
LISP不是一种语言,而是一种材料。
50. "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook
现代的编程是“程序员努力建一个更大更傻的程序”和“世界正在尝试创造更多更傻的人”之间的一种竞赛,目前为止,后者是赢家。