最喜歡的10條編程語(yǔ)錄

發(fā)布時(shí)間:2012-4-28 12:05    發(fā)布者:1770309616
關(guān)鍵詞: 編程 , 語(yǔ)錄
從去年開(kāi)通@程序員的那些事 開(kāi)始,陸陸續續發(fā)布了一些#編程語(yǔ)錄#。今天也在國外程序員 Senthil Kumar 的博客看到了他最喜歡的10條編程語(yǔ)錄。其中大部分已經(jīng)分享過(guò),現再次綜合分享給大家。(提示:正如廣為流傳的經(jīng)典段子,有些經(jīng)典語(yǔ)錄有多個(gè)版本,作者署名都不一樣。從下文就可以看出來(lái)。英文原文我保留了 Senthil Kumar 的。中文版本后面的作者署名是我當時(shí)所看到的署名。)

09. If debugging is the process of removing software bugs, then programming must be the process of putting them in. – Edsger Dijkstra
如果調試程序是移除臭蟲(chóng)(軟件缺陷)的過(guò)程,那編寫(xiě)程序就是把臭蟲(chóng)放進(jìn)來(lái)的過(guò)程! 迪杰斯特拉

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
軟件開(kāi)發(fā)的時(shí)間通常是這樣的:一開(kāi)始的90%開(kāi)發(fā)工作用掉了整個(gè)計劃90%的時(shí)間,剩下的10%同樣需要整個(gè)計劃90%的時(shí)間,而最終發(fā)布前的修改也是如此! N.J. Rubenking
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

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
設計軟件有兩種方法:一種是簡(jiǎn)單到明顯沒(méi)有缺陷,另一種復雜到缺陷不那么明顯! 托尼·霍爾

06. Measuring programming progress by lines of code is like measuring aircraft building progress by weight. – Bill Gates
用代碼行數來(lái)衡量程序的開(kāi)發(fā)進(jìn)度,就好比用重量來(lái)衡量飛機的制造進(jìn)度! 比爾·蓋茨

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
在編寫(xiě)代碼的時(shí)候,你要經(jīng)常想著(zhù),那個(gè)最終維護你代碼的人可能將是一個(gè)有暴力傾向的瘋子,并且他還知道你住在哪里! 里克·奧斯本
補充:關(guān)于這條語(yǔ)錄,StackOverflow 上也有個(gè)討論帖,給出的答案可能是 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
程序員的問(wèn)題是,你無(wú)法知道他在做什么,直到為時(shí)已晚! 西摩·克雷

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ì)白癡的現實(shí)世界之間的比賽。目前來(lái)看,現實(shí)世界贏(yíng)了! Rick Cook

02. “Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris.” – [url=http://en.wikiquote.org/wiki/Talkarry_Wall]Larry Wall[/url]
你們大部分人都熟悉程序員的美德。當然了,是這三種:懶惰、急躁、傲慢! 拉里·沃爾 (Perl 語(yǔ)言之父)

01. “Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debugging Monday’s code.” – Christopher Thompson
有的時(shí)候寧愿付錢(qián)讓你周一在床上待著(zhù),也不想讓你用這周剩下的時(shí)間去調試你在周一所寫(xiě)的代碼。 —— 丹·所羅門(mén)

00. Walking on water and developing software from a specification are easy if both are frozen. – Edward V Berard
在水中行走,和根據一份需求開(kāi)發(fā)軟件一樣,如果它們都“凍”住了,那就容易了! 愛(ài)德華·貝拉爾德

英文原文:Senthil Kumar  編譯:伯樂(lè )在線(xiàn) – 黃利民
本文地址:http://selenalain.com/thread-90922-1-1.html     【打印本頁(yè)】

本站部分文章為轉載或網(wǎng)友發(fā)布,目的在于傳遞和分享信息,并不代表本網(wǎng)贊同其觀(guān)點(diǎn)和對其真實(shí)性負責;文章版權歸原作者及原出處所有,如涉及作品內容、版權和其它問(wèn)題,我們將根據著(zhù)作權人的要求,第一時(shí)間更正或刪除。
您需要登錄后才可以發(fā)表評論 登錄 | 立即注冊

相關(guān)視頻

關(guān)于我們  -  服務(wù)條款  -  使用指南  -  站點(diǎn)地圖  -  友情鏈接  -  聯(lián)系我們
電子工程網(wǎng) © 版權所有   京ICP備16069177號 | 京公網(wǎng)安備11010502021702
快速回復 返回頂部 返回列表
午夜高清国产拍精品福利|亚洲色精品88色婷婷七月丁香|91久久精品无码一区|99久久国语露脸精品|动漫卡通亚洲综合专区48页