编程就像性爱一样。一个错误就能绑住你的余生。
3.Walking on water and developing software from a specification are easy if both are frozen. (Edward V Berard)
在目的明确的基础上开发软件就像在结冰的水上行走一样简单。
4.The first 90 percent of the code accounts for the first 90 percent of the development time…The remaining 10 percent of the code accounts for the other 90 percent of the development time.(Tom Cargill)
开始90%的代码占开始90%的开发时间……剩下10%的代码还是占90%的开发时间。
5.Commenting your code is like cleaning your bathroom—you never want to do it, but it really does create a more pleasant experience for you and your guests. (Ryan Campbell)
注释代码就像是清洁浴室——尽管你满心不情愿,但它确实可以为你和你的客人创造一种更舒适的体验。
6.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. (Rick Cook)
当今的编程是软件工程师——努力建设更大多更好的傻瓜式程序,和上帝——试图产出更大多更好的傻瓜之间的竞争。到目前为止,世上帝是获胜者。
7.The hardest part of design…is keeping features out. (Donald Norman)
设计中最难的部分……是阻止功能。
8. In order to understand recursion, one must first understand recursion. (Anonymous)
要想了解递归,首先必须理解递归。
9.There are only two kinds of programming languages: those people always bitch about and those nobody uses. (Bjarne Stroustrup)
只有两种编程语言:一种是天天挨骂的,另一种是没人用的。
10.The best thing about a boolean is even if you are wrong, you are only off by a bit. (Anonymous)
关于布尔值最妙的一点是,就算你错了,你也只是错了这一处而已。
11.If Java had true garbage collection, most programs would delete themselves upon execution. (Robert Swell)
如果Java真的有垃圾收集,那么大多数程序会执行自我删除。
12.In theory, there is no difference between theory and practice. But, in practice, there is. (Jan L. A. van de Snepscheut)
理论上看,理论和实践之间是没有差别的。但是,在实践中,有。
13.Ready, fire, aim: the fast approach to software development. Ready, aim, aim, aim, aim: the slow approach to software development. (Anonymous)
准备,开火,瞄准:快速的软件开发方法。准备,瞄准,瞄准,瞄准,瞄准:缓慢的软件开发方法。
14.Programming is 10% science, 20% ingenuity, and 70% getting the ingenuity to work with the science. (Anonymous)
编程就是10%的科学,20%得的独创性,再加70%和这门科学的灵巧合作。
15. It is easier to measure something than to understand what you have measured. (Anonymous)
衡量比理解你衡量了什么容易。
16.Benchmarks don’t lie, but liars do benchmarks. (Anonymous)
基准不会撒谎,但制定基准的人会撒谎。
17.Better train people and risk they leave–than do nothing and risk they stay. (Anonymous)
就算是培训好的员工离开——也好过他们什么也不做却留下来。
18.The goal of Computer Science is to build something that will last at least until we’ve finished building it. (Anonymous)
计算机科学的目标是构建一个至少能持续到我们构建完成的东西。
19.Java is to JavaScript what Car is to Carpet. (Chris Heilmann)
Java之于JavaScript就像car之于carpet(地毯)。后者看上去像是前者的衍生物,实则是完全不同的两个东西。
20.It’s not at all important to get it right the first time. It’s vitally important to get it right the last time. (Andrew Hunt and David Thomas)
第一次是否正确完成一点也不重要。最后一次正确完成才至关重要。
21.Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration. (Stan Kelly-Bootle)
数组的下标一定要从0或1开始吗?我认为,我采取的中间值0.5没有经过适当考虑就被驳回了。
22.Programs must be written for people to read, and only incidentally for machines to execute. (Abelson / Sussman)
程序必须写得能供人阅读,机器执行只是附带。
23.Programming can be fun, so can cryptography; however they shoul
本文来源:不详 作者:佚名