|
英文原文:My 10 favourite Programming Quotes
從去年開通 @程序員的那些事 開始,陸陸續(xù)續(xù)發(fā)布了一些#編程語錄#。今天也在國外程序員 Senthil Kumar 的博客看到了他最喜歡的 10 條編程語錄。其中大部分已經(jīng)分享過,現(xiàn)再次綜合分享給大家。
(提示:正如廣為流傳的經(jīng)典段子,有些經(jīng)典語錄有多個版本,作者署名都不一樣。從下文就可以看出來。英文原文我保留了 Senthil Kumar 的。中文版本后面的作者署名是我當時所看到的署名。)
09. If debugging is the process of removing software bugs, then programming must be the process of putting them in. – Edsger Dijkstra
如果調(diào)試程序是移除臭蟲(軟件缺陷)的過程,那編寫程序就是把臭蟲放進來的過程。—— 迪杰斯特拉
08. 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
Writing the first 90 percent of a computer program takes 90 percent of the time. The remaining ten percent also takes 90 percent of the time and the final touches also take 90 percent of the time. ~N.J. Rubenking
軟件開發(fā)的時間通常是這樣的:一開始的 90% 開發(fā)工作用掉了整個計劃 90% 的時間,剩下的 10% 同樣需要整個計劃 90% 的時間,而最終發(fā)布前的修改也是如此。—— N.J. Rubenking
07. “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
設(shè)計軟件有兩種方法:一種是簡單到明顯沒有缺陷,另一種復(fù)雜到缺陷不那么明顯。—— 托尼·霍爾
06. Measuring programming progress by lines of code is like measuring aircraft building progress by weight. – Bill Gates
用代碼行數(shù)來衡量程序的開發(fā)進度,就好比用重量來衡量飛機的制造進度。—— 比爾·蓋茨
05. “Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” – Martin Golding
在編寫代碼的時候,你要經(jīng)常想著,那個最終維護你代碼的人可能將是一個有暴力傾向的瘋子,并且他還知道你住在哪里。—— 里克·奧斯本
補充:關(guān)于這條語錄,StackOverflow 上也有個討論帖,給出的答案可能是 John Woods。
04. “The trouble with programmers is that you can never tell what a programmer is doing until it’s too late.” – Seymour Cray
程序員的問題是,你無法知道他在做什么,直到為時已晚。—— 西摩·克雷
03. 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
今日之編程,已是竭力要建立更大更反白癡程序的軟件工程師,和正塑造更大更優(yōu)質(zhì)白癡的現(xiàn)實世界之間的比賽。目前來看,現(xiàn)實世界贏了。—— Rick Cook
02. “Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris.” – Larry Wall
你們大部分人都熟悉程序員的美德。當然了,是這三種:懶惰、急躁、傲慢。—— 拉里·沃爾 (Perl 語言之父)
01. “Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debugging Monday’s code.” – Christopher Thompson
有的時候?qū)幵父跺X讓你周一在床上待著,也不想讓你用這周剩下的時間去調(diào)試你在周一所寫的代碼。 —— 丹·所羅門
00. Walking on water and developing software from a specification are easy if both are frozen. – Edward V Berard
在水中行走,和根據(jù)一份需求開發(fā)軟件一樣,如果它們都“凍”住了,那就容易了。—— 愛德華·貝拉爾德
英文原文:Senthil Kumar 編譯:伯樂在線 – 黃利民
it知識庫:我最喜歡的10條編程語錄,轉(zhuǎn)載需保留來源!
鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯(lián)系我們修改或刪除,多謝。