Everyone by now presumably knows about the danger of premature optimization. I think we should be just as worried about premature design - designing too early what a program should do.

  • -- Paul Graham 保罗·格雷厄姆

到目前为止,想必每个人都知道过早优化的危险。我认为我们也应该担心过早的设计——过早地设计一个程序应该做什么。

相关名言

I don't react to a tragic happening any more. I took so many bad things as a kid and some people think I don't care about anything. It's just too hard for me to get emotional. I can't cry no more.

我不再对悲剧发生做出反应。我小时候接受过很多不好的事情,有些人认为我什么都不在乎。对我来说太难以动情了。我不能再哭了。

I write the way you might arrange flowers. Not every try works, but each one launches another. Every constraint, even dullness, frees up a new design.

我写的方式,你可能安排鲜花。并不是每一次尝试都能成功,但每一次尝试都会引发另一次尝试。每一个约束,甚至是单调,都会释放出一个新的设计。

The heart may think it knows better: the senses know that absence blots people out. We really have no absent friends.

心可能认为自己知道得更多:感觉知道,缺席会让人沮丧。我们真的没有缺席的朋友。

Some of the wives didn't keep up with the program. It started breaking apart during the Apollo days.

有些妻子跟不上这个计划。它在阿波罗时代开始分裂。

Certainly not every good program is object-oriented, and not every object-oriented program is good.

当然不是每个好的程序都是面向对象的,也不是每个面向对象的程序都是好的。

I design some of my own clothes now.

我现在自己设计一些衣服。