编程之道--Book Three - Design
摘自《编程之道》
The warlord of Wu nodded and smiled. "That is all good and well, but whichis easier to debug?"
这些人笑着说。“不错,但是哪一个更容易调试呢?”
The programmer made no reply.
程序员没有回答。
A manager went to the master programmer and showed him the requirementsdocument for a new application. The manager asked the master: "How longwill it take to design this system if I assign five programmers to it?"
一个项目经理带给编程大师一个项目的需求,然后问大师:“如果我给你 5 个程序员,要多少时间设计这个项目?”
"It will take one year," said the master promptly.
“一年”,大师说。
"But we need this system immediately or even sooner! How long will it takeit I assign ten programmers to it?"
“但是我们等不了那么长时间,越快越好,如果 10 程序员呢?”
The master programmer frowned. "In that case, it will take two years."
大师皱了一下眉头说:“那就要花 2 年”。
"And what if I assign a hundred programmers to it?"
“那,100 名程序员呢?”
The master programmer shrugged. "Then the design will never be completed,"he said.
大师耸了耸肩说:“那这个项目就永远完不成了。”