编程可以很有趣,密码学也是如此;但是两者不应该搅和在一起。
24. Copy and paste is a design error. (David Parnas)
复制粘贴是一个设计错误。
25.Computers are good at following instructions, but not at reading your mind. (Donald Knuth)
计算机善于遵循指令,不善于读取你的想法。
软件调试语录
1.Deleted code is debugged code. (Jeff Sickel)
删除的代码是经过调试的代码。
2.If debugging is the process of removing software bugs, then programming must be the process of putting them in. (Edsger Dijkstra)
如果调试是消除软件bug的过程,那么编程就是产出bug的过程。
3.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.
调试一段程序的难度是写出这段程序的难度的两倍,因此,如果你的代码尽可能清楚的话,那么你就不用费力地调试它。
4. 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)
你的目的是找bug的时候,bug已经很难找了;更不要说当你认为自己的代码中没有错误的时候。
软件bug语录
1.It’s not a bug–it’s an undocumented feature. (Anonymous)
这不是bug——这是没有被证明的功能。
2.Without requirements or design, programming is the art of adding bugs to an empty text file. (Louis Srygley)
如果没有需求和设计,那么编程就是添加bug到空的文本文件的艺术。
3.Bad code isn’t bad, its just misunderstood. (Anonymous Code Behaviorist)
所谓坏的代码并不坏,它只是被误解了。
4.There are two ways to write error-free programs; only the third one works. (Alan J. Perlis)
写没有错误的程序有两种方式;但第三种才有效。
5.Beware of bugs in the above code; I have only proved it correct, not tried it. (Donald Knuth)
小心上面代码中的bug;我只证明了它是正确的,还没有尝试过。
软件/终端产品语录1.Before software can be reusable it first has to be usable. (Ralph Johnson)
在软件可以被可重复使用前,它首先必须是可用的。
2.Software undergoes beta testing shortly before it’s released. Beta is Latin for“still doesn’t work”. (Anonymous)
软件在发布前要经过beta测试。beta即拉丁语“仍然无法正常工作”的意思。
3.The best performance improvement is the transition from the nonworking state to the working state. (J. Osterhout)
最佳性能改进是指从不可工作状态向工作状态的转变。
4.The cheapest, fastest, and most reliable components are those that aren’t there. (Gordon Bell)
最便宜,最快和最可靠的组件是不存在的。
5. I think Microsoft named .Net so it wouldn’t show up in a Unix directory listing. (Oktal)
我认为微软命名.Net,它就不会在Unix目录列表显示出来。
6.Software and cathedrals are much the same–first we build them, then we pray. (Sam Redwine)
软件和教堂非常相似——首先,我们建造它们,然后我们祈祷。
7.The software isn’t finished until the last user is dead. (Anonymous)
直到最后一个用户死去,软件才算完成。
8.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)
现在的大多数软件非常像埃及金字塔,在彼此之间堆建了成千上万的砖块,缺乏结构完整性,只是靠蛮力和成千上万的奴隶完成。
本文来源:不详 作者:佚名