|
Rule of Economy:Programmer time is expensive; conserve it in preferenc to machine time.
|
|
|
经济性准则:如果和机器时间比较,程序员的时间是昂贵的。 |
|
Rule of Extensibility:Design for the future, because it will be here sooner than you think.
|
|
|
扩展性准则:为未来设计,因为它往往来的比你想得快。 |
|
Rule of Generation:Avoid hand-hacking, write programs to write programs when you can.
|
|
|
生成准则:避免手工编程,如果可能,编写编写程序的程序。 |
|
Rule of Modularity: Write simple parts connected by clean interfaces.
|
|
|
模块化准则:编写简单的模块用清晰的接口把它们连接起来。 |
|
Rule of Parsimony: Write a big program only when it is clear by demonstration that nothing else will do.
|
|
|
节俭准则:只在通过原型澄清后才编写大的程序。 |
|
Rule of Repair: When you must fail, fail noisily and as soon as possible.
|
|
|
补救原则:出现异常时,马上退出并给出足够的错误信息。 |
|
Rule of Repair:When you must fail, fail nosily and as soon as possible.
|
|
|
修复准则:如果你必须出错,尽可能响亮和快速的出错。 |
|
Rule of Robustness: Robustness is the child of transparency and simplicity.
|
|
|
健壮原则:健壮源于透明与简洁。 |
|
Rule of Simplicity: Design for simplicity; add complexity only where you must.
|
|
|
简单性准则:设计追求简单性,只在绝对必须时加入复杂性。 |
|
Rule of Transparency: Design for visibility to make inspection and debugging easier.
|
|
|
透明原则:设计要可见,以使审查与调试更容易。 |
|
Rule of Transparency: Design for visibilty to make inspection and debug going easier.
|
|
|
透明性准则:设计的可见性使检查和除错更容易。 |