📄 00000002.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: ClearMind (我是谁?), 信区: Linux <BR>标 题: [连载]编程之道:Part I(英文) <BR>发信站: BBS 水木清华站 (Mon Oct 23 11:48:06 2000) <BR> <BR> <BR> The Tao of Programming <BR> <BR> Translated By Geoffrey James <BR> Transcribed By Seth Robertson <BR> Transformed to Html by Egon Pasztor <BR> _________________________________________________________________ <BR> <BR> Table of Contents: <BR> * Book 1 -- The Silent Void <BR> * Book 2 -- The Ancient Masters <BR> * Book 3 -- Design <BR> * Book 4 -- Coding <BR> * Book 5 -- Maintenance <BR> * Book 6 -- Management <BR> * Book 7 -- Corporate Wisdom <BR> * Book 8 -- Hardware and Software <BR> * Book 9 -- Epilogue <BR> _________________________________________________________________ <BR> <BR> The Silent Void <BR> Book One <BR> ________________________________________________________ <BR> <BR> Thus spake the master programmer: <BR> <BR> "When you have learned to snatch the error code from <BR> the trap frame, it will be time for you to leave." <BR> ________________________________________________________ <BR> <BR> 1.1 <BR> Something mysterious is formed, born in the silent void. <BR> Waiting alone and unmoving, it is at once still and yet in <BR> constant motion. It is the source of all programs. I do not <BR> know its name, so I will call it the Tao of Programming. <BR> <BR> If the Tao is great, then the operating system is great. If the <BR> operating system is great, then the compiler is great. If the <BR> compiler is greater, then the applications are great. The user <BR> is pleased and there is harmony in the world. <BR> The Tao of Programming flows far away and returns on the wind <BR> of morning. <BR> <BR> 1.2 <BR> The Tao gave birth to machine language. Machine language gave <BR> birth to the assembler. <BR> <BR> The assembler gave birth to the compiler. Now there are ten <BR> thousand languages. <BR> <BR> Each language has its purpose, however humble. Each language <BR> expresses the Yin and Yang of software. Each language has its <BR> place within the Tao. <BR> <BR> But do not program in COBOL if you can avoid it. <BR> <BR> 1.3 <BR> In the beginning was the Tao. The Tao gave birth to Space and <BR> Time. Therefore, Space and Time are the Yin and Yang of <BR> programming. <BR> <BR> Programmers that do not comprehend the Tao are always running <BR> out of time and space for their programs. Programmers that <BR> comprehend the Tao always have enough time and space to <BR> accomplish their goals. <BR> <BR> How could it be otherwise? <BR> <BR> 1.4 <BR> The wise programmer is told about the Tao and follows it. The <BR> average programmer is told about the Tao and searches for it. <BR> The foolish programmer is told about the Tao and laughs at it. <BR> <BR> If it were not for laughter, there would be no Tao. <BR> <BR> The highest sounds are the hardest to hear. Going forward is a <BR> way to retreat. Greater talent shows itself late in life. Even <BR> a perfect program still has bugs. <BR> _________________________________________________________________ <BR> The Ancient Masters <BR> Book Two <BR> ________________________________________________________ <BR> <BR> Thus spake the master programmer: <BR> <BR> "After three days without programming, life becomes meaningless." <BR> ________________________________________________________ <BR> <BR> 2.1 <BR> The programmers of old were mysterious and profound. We cannot <BR> fathom their thoughts, so all we do is describe their <BR> appearance. <BR> <BR> Aware, like a fox crossing the water. Alert, like a general on <BR> the battlefield. Kind, like a hostess greeting her guests. <BR> Simple, like uncarved blocks of wood. Opaque, like black pools <BR> in darkened caves. <BR> <BR> Who can tell the secrets of their hearts and minds? <BR> <BR> The answer exists only in the Tao. <BR> <BR> 2.2 <BR> Grand Master Turing once dreamed that he was a machine. When he <BR> awoke he exclaimed: <BR> <BR> "I don't know whether I am Turing dreaming that I am a machine, or <BR> a machine dreaming that I am Turing!" <BR> <BR> 2.3 <BR> A programmer from a very large computer company went to a <BR> software conference and then returned to report to his manager, <BR> saying: "What sort of programmers work for other companies? <BR> They behaved badly and were unconcerned with appearances. Their <BR> hair was long and unkempt and their clothes were wrinkled and <BR> old. They crashed our hospitality suite and they made rude <BR> noises during my presentation." <BR> <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -