10條經(jīng)典的大師編程語錄
10. If debugging is the process of removing software bugs, then programming must be the process of putting them in. – Edsger Dijkstra
如果調(diào)試程序是移除臭蟲(軟件缺陷)的過程,那編寫程序就是把臭蟲放進(jìn)來的過程。—— 迪杰斯特拉
09. 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ā)的時(shí)間通常是這樣的:一開始的 90% 開發(fā)工作用掉了整個(gè)計(jì)劃 90% 的時(shí)間,剩下的 10% 同樣需要整個(gè)計(jì)劃 90% 的時(shí)間,而最終發(fā)布前的修改也是如此。—— N.J. Rubenking
08. “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è)計(jì)軟件有兩種方法:一種是簡單到明顯沒有缺陷,另一種復(fù)雜到缺陷不那么明顯。—— 托尼·霍爾
07. Measuring programming progress by lines of code is like measuring aircraft building progress by weight. – Bill Gates
用代碼行數(shù)來衡量程序的開發(fā)進(jìn)度,就好比用重量來衡量飛機(jī)的制造進(jìn)度。—— 比爾·蓋茨
06. “Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” – Martin Golding
在編寫代碼的時(shí)候,你要經(jīng)常想著,那個(gè)最終維護(hù)你代碼的人可能將是一個(gè)有暴力傾向的瘋子,并且他還知道你住在哪里。—— 里克·奧斯本
補(bǔ)充:關(guān)于這條語錄,StackOverflow 上也有個(gè)討論帖,給出的答案可能是 John Woods。
05. “The trouble with programmers is that you can never tell what a programmer is doing until it’s too late.” – Seymour Cray
程序員的問題是,你無法知道他在做什么,直到為時(shí)已晚。—— 西摩·克雷
04. 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)實(shí)世界之間的比賽。目前來看,現(xiàn)實(shí)世界贏了。—— Rick Cook
03. “Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris.” – Larry Wall
你們大部分人都熟悉程序員的美德。當(dāng)然了,是這三種:懶惰、急躁、傲慢。—— 拉里·沃爾 (Perl 語言之父)
02. “Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debugging Monday’s code.” – Christopher Thompson
有的時(shí)候?qū)幵父跺X讓你周一在床上待著,也不想讓你用這周剩下的時(shí)間去調(diào)試你在周一所寫的代碼。 —— 丹·所羅門
01. Walking on water and developing software from a specification are easy if both are frozen. – Edward V Berard
在水中行走,和根據(jù)一份需求開發(fā)軟件一樣,如果它們都“凍”住了,那就容易了。—— 愛德華·貝拉爾德
編輯:admin 最后修改時(shí)間:2018-05-19