关于程序猿 59 条搞笑但却真实无比的语录

在大多数人印象中,程序猿都是给人刻板的印象!其实是他们不懂程序猿的世界而已,下面就看看工程师们最爱的59个经典笑话!

  1. 一个好的工程师是那种过单行道马路都要左顾右盼的人。(Doug Linder)

  A good programmer is someone who always looks both ways before crossing a one-way street. (Doug Linder)

  2. 程序有问题时不要担心。如果所有东西都没问题,你就失业了。(软件工程的 Mosher 定律)

  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)

  3. 工程师的麻烦在于,你无法弄清他在折腾什什么,当你最终弄明白时,也许已经太迟了了。(超级电脑之父 Seymour Cray)

  The trouble with programmers is that you can never tell what a programmer is doing until it’s too late. (Seymour Cray)

  4. 我想大部分人都知道通常一名工程师会具有的美德。当然了,有三种:懒惰、暴躁、傲慢。(Perl 语言发明者 Larry Wall)

  Most of you are familiar with the virtues of a programmer. There are three, of course: laziness,impatience, and hubris. (Larry Wall)

  5. 写程序时要保持这种心态:就好像将来要维护你这些程序的人是一位残暴的精神病患者,而且他知道你住在哪。(Martin Golding)

  Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. (Martin Golding)

  6. 一个人写的烂软件将会给另一个人带来一份全职工作。(Jessica Gaston)

  One man’s crappy software is another man’s full time job. (Jessica Gaston)

  7. 如果建筑工人像工程师写软件那样盖房子,那第一只飞来的啄木鸟就能毁掉人类文明。(GeraldWeinberg)

  If builders built buildings the way programmers wrote programs, then the first woodpecker that came along wound destroy civilization. (Gerald Weinberg)

  8. 这世界最有可能毁灭的方式——大多数专家都同意——是由意外造成。这就是为什什么会有我们,我们是电脑专家,我们创造意外。(Nathaniel Borenstein)

  The most likely way for the world to be destroyed, most experts agree, is by accident. That’s where we come in; we’re computer professionals. We cause accidents. (Nathaniel Borenstein)

  9. 我们这个产业有个特别奇怪的现象:我们不但不会从失败里吸取教训,同时也不从成功中学习经验。(Keith Braithwaite)

  It’s a curious thing about our industry: not only do we not learn from our mistakes, we also don’t learn from our successes. (Keith Braithwaite)

  10. 一种新技术一旦开始流行,你要嘛坐上压路机,要嘛成为铺路石。(Stewart Brand)

  Once a new technology starts rolling, if you’re not part of the steamroller, you’re part of the road. (Stewart Brand)

  11. 如果没能一次成功,那就叫它 1.0 版吧。(unknown)

  If at first you don’t succeed, call it version 1.0 (unknown)

  12. 所有的工程师都是编剧,所有的电脑都是烂演员。(Anonymous Hack Actor)

  All programmers are playwrights and all computers are lousy actors. (Anonymous Hack Actor)

  13. 工作进度上越快落后,你就会有越充足的时间赶上。(Anonymous Scheduler)

  The sooner you get behind in your work, the more time you have to catch up. (Anonymous Scheduler)

  14. 当有这样的一种程序语言出现:它能让工程师用简单的英语写程序,你将会发现,工程师都开始不会说英语。(Anonymous Linguist)

  When a programming language is created that allows programmers to program in simple English, it will be discovered that programmers cannot speak English. (Anonymous Linguist)

  15. 为什么我们没有时间把事情做对,却总有时间把事情砍掉重练?(Anonymous)

  Why do we never have time to do it right, but always have time to do it over? (Anonymous)

  16. 傻瓜都能写出电脑能理解的程序。优秀的工程师写出的是人类能读懂的程序。

  Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

  17. 任何你写的程序,超过 6 个月不去看它,当你再度开启时,看起来都像是别人写的。

  Any code of your own that you haven't looked at for six or more months might as well have been written by someone else. (Eagleson's law)

  18. 按程序行数来评估软件开发的进度,就如同按重量量来评估飞机建造的进度。

  Measuring programming progress by lines of code is like measuring aircraft building progress by weight. (Bill Gates)

  19. 软件就像做爱。一次犯错,你需要用剩下的一生来弥补。

  Programming is like sex. One mistake and you have to support it for the rest of your life.(Michael Sinz)

  20. 在水上行走和按照特定需求开发开发软件都很容易易——前提是它们都是冻结状态。

  Walking on water and developing software from a specification are easy if both are frozen.(Edward V Berard)

  21. 最初 90% 的程序消耗了了最初 90% 的开发时间…最后 10% 的程序用去了了另外 90% 的开发时间。

  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)

  22. 注释程序很像清扫厕所——你不想干,但如果你做了,这绝对会给你和你的客人带来更愉悦的体验。

  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)

  23. 如今的程序是一场工程师和上帝的竞赛,工程师要开发出更大更好、傻瓜都会用到软件。而上帝在努力创造出更大更傻的傻瓜。目前为止,上帝是赢的。

  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)

  24. 软件设计最困难的部分⋯⋯是阻挡新功能的引入。

  The hardest part of design … is keeping features out. (Donald Norman)

  25. 为了理解递回(recursion),我们首先要理解的是递回。

  In order to understand recursion, one must first understand recursion. (Anonymous)

  26. 世上只有两类程序语言:那些被人批得一无是处的,以及那些没人使用的。

  There are only two kinds of programming languages: those people always bitch about and those nobody uses. (Bjarne Stroustrup)

  27. 关于布林值最棒一点是,即使你搞错了,也只差一个位元(a bit,此为双关语,英文“一点点”之意,也是电脑术语“位元”的意思)。

  The best thing about a boolean is even if you are wrong, you are only off by a bit.

  28. 如果 Java 真的能够垃圾回收,那大部分的程序都会在执行时自己删除自己。

  If Java had true garbage collection, most programs would delete themselves upon execution.(Robert Swell)

  29. 理论上,理论和实践是没有差异的。但实践中,是有的。

  In theory, there is no difference between theory and practice. But, in practice, there is. (Jan L.A. van de Snepscheut)

  30. 预备,开火,瞄准:这是最快的软件开发方法。预备,瞄准,瞄准,瞄准,瞄准:这是最慢的软件开发方法。

  Ready, fire, aim: the fast approach to software development. Ready, aim, aim, aim, aim: the slow approach to software development. (Anonymous)

  31. 写程序是 10% 的科学、20% 天份,加上 70% 的让天份符合科学。

  Programming is 10% science, 20% ingenuity, and 70% getting the ingenuity to work with the science. (Anonymous)

  32. 评估一件事情要比去理解你评估了什么容易。

  It is easier to measure something than to understand what you have measured. (Anonymous)

  33. 标准检查程序(benchmark)不会撒谎,但制定标准检查程序的人会。

  Benchmarks don’t lie, but liars do benchmarks. (Anonymous)

  34. 培养员工,即使他们有跳槽的风险。什么都不做而留他们在公司,这样风险更大。

  Better train people and risk they leave – than do nothing and risk they stay. (Anonymous)

  35. 电脑科学的目标是做出一个东西,并且保证它至少能坚持到我们将它开发完成。

  The goal of Computer Science is to build something that will last at least until we've finished building it. (Anonymous)

  36. Java 之于 JavaScript 的关系就如同狗和热狗。(英文是 Car 与 Carpet)。

  Java is to JavaScript what Car is to Carpet. (Chris Heilmann)

  37. 起初就把事情做对是完全没必要的。但最后要把事情做对是绝对必要的。

  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)

  38. 阵列(array)的起始索引(indices)应该从 0 开始还是从 1 开始?我的 0.5 的折中提议被他们拒绝了,而我认为,他们没有考虑周详。

  Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought,proper consideration. (Stan Kelly-Bootle)

  39. 程序必须是为了给人看而写,命令机器执行只是附带任务。

  Programs must be written for people to read, and only incidentally for machines to execute.(Abelson / Sussman)

  40. 写程序可以很有趣,密码学也是,但两者绝对不能合二为一。

  Programming can be fun, so can cryptography; however they should not be combined.(Kreitzberg and Shneiderman)

  41. 复制粘贴实际上是一种设计错误。

  Copy and paste is a design error. (David Parnas)

  42. 电脑善于遵循指令,但不善于理解你的思维。

  Computers are good at following instructions, but not at reading your mind. (Donald Knuth)

  43. 被删除的程序就是被除错的程序。

  Deleted code is debugged code. (Jeff Sickel)

  44. 如果除错是消除软件 bug 的过程,那写程序一定是把它们放进去的过程.

  If debugging is the process of removing software bugs, then programming must be the process of putting them in. (Edsger Dijkstra)

  45. 程序除错要比新编写程序困难一倍。因此,如果你写出了了最聪明的程序,按此推算,你就缺乏更深远的智慧来替它除错。

  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.

  46. 想在自己的程序里找出一个错误是十分困难的。而当你认为你的程序没有错误时,那就更难了。

  It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free. (Steve McConnel)

  47. 这不是个 bug——这一个未注明的功能特征。

  It’s not a bug – it’s an undocumented feature. (Anonymous)

  48. 没有需求或设计,写程序就是一种将 bug 添加到一个空白文件里的艺术。

  Without requirements or design, programming is the art of adding bugs to an empty text file.(Louis Srygley)

  49. 烂程序并不烂,只是被误解了。

  Bad code isn’t bad, its just misunderstood. (Anonymous Code Behaviorist)

  50. 有两种方法能写出没有错误的程序;但只有第三种好用。

  There are two ways to write error-free programs; only the third one works. (Alan J. Perlis)

  51. 小心上面程序中的 bug;我只知道这些程序是正确的,但没有试过。

  Beware of bugs in the above code; I have only proved it correct, not tried it. (Donald Knuth)

     52. 软件能够反覆使用之前,它必须要先可以用。

  Before software can be reusable it first has to be usable. (Ralph Johnson)

  53. 软件通常在 beta 测试完成不久后发表。Beta 在拉丁语中是“还不能用”的意思。

  Software undergoes beta testing shortly before it’s released. Beta is Latin for “still doesn't work". (Anonymous)

  54. 最好的性能改进是将软件从不能用的状态变成可用。

  The best performance improvement is the transition from the nonworking state to the working state. (J. Osterhout)

  55. 最便宜、最快速、最值得信赖的组件是那些还未出现的组件。

  The cheapest, fastest, and most reliable components are those that aren't there. (Gordon Bell)

  56. 我认为微软之所以把“.Net”命名为“.Net”,是因为如此一来,它就不会出现在 Unix 的目录里。

  I think Microsoft named .Net so it wouldn’t show up in a Unix directory listing. (Oktal)

  57. 软件和教堂非常相似——建成之后我们就开始祈祷。

  Software and cathedrals are much the same – first we build them, then we pray. (SamRedwine)

  58. 除非最后一个使用者死掉,软件是不会有完工的时候的。

  The software isn’t finished until the last user is dead. (Anonymous)

  59. 如今的大部分软件都非常像埃及金字塔,由成千上万的石块一块一块构成,没有结构上的整合,而是由暴力强制和成千上万的奴隶完成。

  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)

 

程序猿最好的学习娱乐公众号:程序猿休闲娱乐会所

 

转载于:https://my.oschina.net/u/3465037/blog/1549548

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值