我最喜歡的10條程式設計語錄

edithfang發表於2014-07-15

09. If debugging is the process of removing software bugs, thenprogramming must be the process of putting them in. – EdsgerDijkstra

如果除錯程式是移除臭蟲(軟體缺陷)的過程,那編寫程式就是把臭蟲放進來的過程。—— 迪傑斯特拉


08. The first 90% of the code accounts for the first 90% of thedevelopment time. The remaining 10% of the code accounts for the other 90% ofthe development time. – Tom Cargill

軟體開發的時間通常是這樣的:一開始的90%開發工作用掉了整個計劃90%的時間,剩下的10%同樣需要整個計劃90%的時間,而最終釋出前的修改也是如此。——N.J. Rubenking

Writing the first 90 percent of a computer program takes 90 percent of thetime.  The remaining ten percent also takes 90 percent of the time and the finaltouches also take 90 percent of the time. ~N.J. Rubenking

07. “There are two ways of constructing a software design. One way isto make it so simple that there are obviously no deficiencies. And the other wayis to make it so complicated that there are no obvious deficiencies.”- C.A.R.Hoare

設計軟體有兩種方法:一種是簡單到明顯沒有缺陷,另一種複雜到缺陷不那麼明顯。—— 託尼·霍爾


06. Measuring programming progress by lines of code is like measuringaircraft building progress by weight. – Bill Gates

用程式碼行數來衡量程式的開發進度,就好比用重量來衡量飛機的製造進度。—— 比爾·蓋茨


05. “Always code as if the guy who ends up maintaining your code willbe a violent psychopath who knows where you live.” – Martin Golding

在編寫程式碼的時候,你要經常想著,那個最終維護你程式碼的人可能將是一個有暴力傾向的瘋子,並且他還知道你住在哪裡。—— 裡克·奧斯本

補充:關於這條語錄,StackOverflow上也有個討論帖,給出的答案可能是 John Woods。

04. “The trouble with programmers is that you can never tell what aprogrammer is doing until it’s too late.” – Seymour Cray

程式設計師的問題是,你無法知道他在做什麼,直到為時已晚。—— 西摩·克雷

03. Programming today is a race between software engineers strivingto build bigger and better idiot-proof programs, and the Universe trying toproduce bigger and better idiots. So far, the Universe is winning. – RickCook

今日之程式設計,已是竭力要建立更大更反白痴程式的軟體工程師,和正塑造更大更優質白痴的現實世界之間的比賽。目前來看,現實世界贏了。—— RickCook

02. “Most of you arefamiliar with the virtues of a programmer. There are three, of course: laziness,impatience, and hubris.” – LarryWall

你們大部分人都熟悉程式設計師的美德。當然了,是這三種:懶惰、急躁、傲慢。—— 拉里·沃爾 (Perl 語言之父)

01. “Sometimes it pays to stay in bed on Monday, rather than spendingthe rest of the week debugging Monday’s code.” – Christopher Thompson

有的時候寧願付錢讓你週一在床上待著,也不想讓你用這周剩下的時間去除錯你在週一所寫的程式碼。 —— 丹·所羅門

00. Walking on water and developing software from a specification areeasy if both are frozen. – Edward V Berard

在水中行走,和根據一份需求開發軟體一樣,如果它們都“凍”住了,那就容易了。—— 愛德華·貝拉爾德

英文原文:Senthil Kumar   編譯:伯樂線上 – 黃利民
來自:伯樂線上
相關閱讀
評論(0)

相關文章