六月婷婷综合激情-六月婷婷综合-六月婷婷在线观看-六月婷婷在线-亚洲黄色在线网站-亚洲黄色在线观看网站

明輝手游網中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

我這里有它的英漢對比版——the tao of programming —— 編程之道(1)

[摘要]translated by geoffrey james[小趙]翻譯整理說明:  本文是<<編程之道>> <<編程之禪>><<計算機時代的寓言>>其中的一冊, 由小趙翻譯整理, 另外, 這三冊書的完整電子文檔由小趙根據市面上的...
translated by geoffrey james


[小趙]翻譯整理

說明:
  本文是<<編程之道>> <<編程之禪>><<計算機時代的寓言>>其中的一冊, 由小趙翻譯整理, 另外, 這三冊書的完整電子文檔由小趙根據市面上的<< 編程之道>>一書(包括了上面的三卷)錄入整理, 隨后將一起刊登(參見《編程之道》全譯文)。

table of contents 目錄

book 1 -- the silent void
book 2 -- the ancient masters
book 3 -- design
book 4 -- coding
book 5 -- maintenance
book 6 -- management
book 7 -- corporate wisdom
book 8 -- hardware and software
book 9 -- epilogue



the silent void
book one
thus spake the master programmer:
編程大師如是說:


"when you have learned to snatch the error code from the trap frame, it will be time for you to leave."
“當你從我手中奪走水晶球時,就是你離開的時候了。”
1.1
something mysterious is formed, born in the silent void. waiting alone and unmoving, it is at once still and yet in constant motion. it is the source of all programs. i do not know its name, so i will call it the tao of programming.
寂靜的虛空里誕生了神秘的東西,這種東西恒久存在永不消失,它是所有程序的根源所在,我不知道怎么形容它,姑且稱它為編程之道。

if the tao is great, then the operating system is great. if the operating system is great, then the compiler is great. if the compiler is greater, then the applications is great. the user is pleased and there is harmony in the world.
如果道是完美的,那么操作系統就是完美的,如果操作系統是完美的,那么編譯囂就是完美的,如果編譯囂是完美的,那么應用程序就是完美的,所以用戶心滿意足,整個世界因此和諧。

the tao of programming flows far away and returns on the wind of morning.
編程之道去如黃鶴來如晨風。

1.2
the tao gave birth to machine language. machine language gave birth to the assembler.
道生機器語言,機器語言生匯編囂。

the assembler gave birth to the compiler. now there are ten thousand languages.
匯編器生編譯器,最后產生上萬種高級語言。

each language has its purpose, however humble. each language expresses the yin and yang of software. each language has its place within the tao.
不論多么的微不足道,每種語言都有它自己的目的,每種語言都表達了軟件的陰陽兩極。每種語言都各得其道。

but do not program in cobol if you can avoid it.
但是盡量不要用cobol語言。

1.3
in the beginning was the tao. the tao gave birth to space and time. therefore, space and time are the yin and yang of programming.
道之初,帶來了空間和時間,所以,空間和時間是編程的陰陽兩極。

programmers that do not comprehend the tao are always running out of time and space for their programs. programmers that comprehend the tao always have enough time and space to accomplish their goals.
不懂編程之道的程序員常常把空間和時間消耗殆盡,得道的程序員則總是有足夠的空間和時間去完成編程任務。

how could it be otherwise?
否則會是什么樣呢?

1.4
the wise programmer is told about the tao and follows it. the average programmer is told about the tao and searches for it. the foolish programmer is told about the tao and laughs at it.
上士聞道,從而行之。中士聞道,謹而尋之。下士聞道,大笑之。

if it were not for laughter, there would be no tao.
大笑不足為道。

the highest sounds are the hardest to hear. going forward is a way to retreat. greater talent shows itself late in life. even a perfect program still has bugs.
希音不聞,進即是退,大囂晚成。任何程序都有漏洞。


--------------------------------------------------------------------------------




the ancient masters
book two
thus spake the master programmer:
編程大師如是說:


"after three days without programming, life becomes meaningless."
三日不編程,食肉無味。

2.1
the programmers of old were mysterious and profound. we cannot fathom their thoughts, so all we do is describe their appearance.
遠古時代的編程大師們高深莫測,我們不能揣測他們的所思所想,只能描述外表所見。

aware, like a fox crossing the water. alert, like a general on the battlefield. kind, like a hostess greeting her guests. simple, like uncarved blocks of wood. opaque, like black pools in darkened caves.
他達明,如狐貍過水;機警,如戰場上的將軍;和善,如主婦款待客人;簡單,呆若木雞;混沌,如深淵之水。

who can tell the secrets of their hearts and minds?
誰能道盡他們的所有?

the answer exists only in the tao.
答案僅存于道。

2.2
grand master turing once dreamed that he was a machine. when he awoke he exclaimed:
超級大師圖靈曾夢見自己是一臺機器,醒后他這樣回憶:


"i don't know whether i am turing dreaming that i am a machine, or a machine dreaming that i am turing!"

“我不知道是圖靈夢見自己變成機器還是機器夢見自己變成圖靈。”
2.3
a programmer from a very large computer company went to a software conference and then returned to report to his manager, saying: "what sort of programmers work for other companies? they behaved badly and were unconcerned with appearances. their hair was long and unkempt and their clothes were wrinkled and old. they crashed out hospitality suites and they made rude noises during my presentation."
一個大公司的程序員參加一個軟件會議后向他的主管匯報:“那些別的公司的程序員都是些什么樣的人呀?他們舉止不雅,不修邊幅,頭發蓬亂,衣服破舊,根本不熱情好客,還在我說話的時候亂嚷嚷。”

the manager said: "i should have never sent you to the conference. those programmers live beyond the physical world. they consider life absurd, an accidental coincidence. they come and go without knowing limitations. without a care, they live only for their programs. why should they bother with social conventions?"
他的主管說:“我不應該讓你參加這次會議,這些程序員生活在現實世界之外。他們認為生活是可笑的,一場意外的偶然而已。他們來去自由,無所牽掛,他們只為他們的程序生活。為什么要用世俗的煩擾去擾亂他們呢?”

"they are alive within the tao."
“他們生活在道中”。

2.4
a novice asked the master: "here is a programmer that never designs, documents, or tests his programs. yet all who know him consider him one of the best programmers in the world. why is this?"
一個初學者問主管經理:“有一個程序員,他從來不預先設計,也不寫文檔,甚至不測試他的程序,但是知道他的人都認為他是世界上最偉大的程序員,為什么呢?”

the master replies: "that programmer has mastered the tao. he has gone beyond the need for design; he does not become angry when the system crashes, but accepts the universe without concern. he has gone beyond the need for documentation; he no longer cares if anyone else sees his code. he has gone beyond the need for testing; each of his programs are perfect within themselves, serene and elegant, their purpose self-evident. truly, he has entered the mystery of the tao."
經理說:“那個程序員掌握了道。他不需要預先進行設計;系統崩潰時他也從不煩燥,只是接受發生的一切而不管發生的事是好是壞 。他不需要寫文檔,他從不顧及有沒有人看他寫的代碼。他也不需要進行測試;他寫的每個程序都有一個完美的自我,平靜而優雅,它們的目的不言自明。他已經真正掌握了道的精髓。”


主站蜘蛛池模板: 一级女性全黄久久生活片免费 | 欧美中文综合在线视频 | 日本高清一区二区三区水蜜桃 | 日韩精品一区二区三区免费观看 | 亚洲国产欧美在线人成精品一区二区 | 日韩精品久久久毛片一区二区 | 最新精品女神在线观看 | 一a一级片 | 午夜免费影视 | 天天天天干 | 欧美一级黄色大片 | 一级做a爰片性色毛片视频图片 | 青青青国产高清在线观看视频 | 中文字幕在线精品不卡 | 香蕉视频在线观看免费国产婷婷 | 天天视频网| 速度与激情9免费完整版高清 | 青娱乐国产在线 | 日本午夜在线视频 | 欧美在线aa | 五月激情婷婷丁香 | 日韩视频专区 | 欧美又粗又大又长 | 青青青在线视频免费 | 亚洲成人mv | 图片区偷拍区小说区 | 情不自禁完整版在线观看免费 | 午夜欧美视频 | 午夜爱| 天天天综合 | 一本久久精品一区二区 | 中文字幕福利片 | 欧美亚洲动漫 | 天堂bt资源在线官网 | 午夜影视在线免费观看 | 四虎影视在线免费观看 | 伊人亚洲综合网成人 | 日本天堂视频在线观看 | 日本在线视频播放 | 婷婷色香 | 香蕉视频在线观看网址 |