📄 00000002.htm
字号:
The manager said: "I should have never sent you to the <BR> conference. Those programmers live beyond the physical world. <BR> They consider life absurd, an accidental coincidence. They come <BR> and go without knowing limitations. Without a care, they live <BR> only for their programs. Why should they bother with social <BR> conventions?" <BR> <BR> "They are alive within the Tao." <BR> <BR> 2.4 <BR> A novice asked the Master: "Here is a programmer that never <BR> designs, documents, or tests his programs. Yet all who know him <BR> consider him one of the best programmers in the world. Why is <BR> this?" <BR> <BR> The Master replies: "That programmer has mastered the Tao. He <BR> has gone beyond the need for design; he does not become angry <BR> when the system crashes, but accepts the universe without <BR> concern. He has gone beyond the need for documentation; he no <BR> longer cares if anyone else sees his code. He has gone beyond <BR> the need for testing; each of his programs are perfect within <BR> themselves, serene and elegant, their purpose self-evident. <BR> Truly, he has entered the mystery of the Tao." <BR> _________________________________________________________________ <BR> <BR> Design <BR> Book Three <BR> _____________________________________________________ <BR> <BR> Thus spake the master programmer: <BR> <BR> "When program is being tested, it is too late to make design <BR> changes." <BR> ________________________________________________________ <BR> <BR> 3.1 <BR> There once was a man who went to a computer trade show. Each <BR> day as he entered, the man told the guard at the door: <BR> <BR> "I am a great thief, renowned for my feats of shoplifting. Be <BR> forewarned, for this trade show shall not escape unplundered." <BR> <BR> This speech disturbed the guard greatly, because there were <BR> millions of dollars of computer equipment inside, so he watched <BR> the man carefully. But the man merely wandered from booth to <BR> booth, humming quietly to himself. <BR> <BR> When the man left, the guard took him aside and searched his <BR> clothes, but nothing was to be found. <BR> <BR> On the next day of the trade show, the man returned and chided <BR> the guard saying: "I escaped with a vast booty yesterday, but <BR> today will be even better." So the guard watched him ever more <BR> closely, but to no avail. <BR> <BR> On the final day of the trade show, the guard could restrain <BR> his curiosity no longer. "Sir Thief," he said, "I am so <BR> perplexed, I cannot live in peace. Please enlighten me. What is <BR> it that you are stealing?" <BR> <BR> The man smiled. "I am stealing ideas," he said. <BR> <BR> 3.2 <BR> There once was a master programmer who wrote unstructured <BR> programs. A novice programmer, seeking to imitate him, also <BR> began to write unstructured programs. When the novice asked the <BR> master to evaluate his progress, the master criticized him for <BR> writing unstructured programs, saying: "What is appropriate for <BR> the master is not appropriate for the novice. You must <BR> understand the Tao before transcending structure." <BR> <BR> 3.3 <BR> There was once a programmer who was attached to the court of <BR> the warlord of Wu. The warlord asked the programmer: "Which is <BR> easier to design: an accounting package or an operating <BR> system?" <BR> <BR> "An operating system," replied the programmer. <BR> <BR> The warlord uttered an exclamation of disbelief. "Surely an <BR> accounting package is trivial next to the complexity of an <BR> operating system," he said. <BR> <BR> "Not so," said the programmer, "when designing an accounting <BR> package, the programmer operates as a mediator between people <BR> having different ideas: how it must operate, how its reports <BR> must appear, and how it must conform to the tax laws. By <BR> contrast, an operating system is not limited by outside <BR> appearances. When designing an operating system, the programmer <BR> seeks the simplest harmony between machine and ideas. This is <BR> why an operating system is easier to design." <BR> <BR> The warlord of Wu nodded and smiled. "That is all good and <BR> well, but which is easier to debug?" <BR> <BR> The programmer made no reply. <BR> <BR> 3.4 <BR> A manager went to the master programmer and showed him the <BR> requirements document for a new application. The manager asked <BR> the master: "How long will it take to design this system if I <BR> assign five programmers to it?" <BR> <BR> "It will take one year," said the master promptly. <BR> <BR> "But we need this system immediately or even sooner! How long <BR> will it take if I assign ten programmers to it?" <BR> <BR> The master programmer frowned. "In that case, it will take two <BR> years." <BR> <BR> "And what if I assign a hundred programmers to it?" <BR> <BR> The master programmer shrugged. "Then the design will never be <BR> completed," he said. <BR> _________________________________________________________________ <BR> <BR>=========Part I End: Book 1/2/3========== <BR> <BR>-- <BR> <BR>※ 来源:·BBS 水木清华站 smth.org·[FROM: 210.73.87.125] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -