编写错误的程序要比理解正确的程序容易。
艾伦·佩利
美国国家工程院院士、美国艺术与科学院院士、第一届图灵奖得主

艾伦·佩利(1922年4月1日-1990年2月7日),出生于美国宾夕法尼亚州的匹兹堡,美国国家工程院院士,美国艺术与科学院院士,第一届图灵奖得主,耶鲁大学尤金·希金斯计算机科学教授。

It goes against the grain of modern education to teach children to program. What fun is there in making plans, acquiring discipline in organizing thoughts, devoting attention to detail and learning to be self-critical?

教孩子们编程是违背现代教育原则的。制定计划,在组织思想时遵守纪律,专注于细节和学习自我批评有什么乐趣?

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

If you can imagine a society in which the computer- robot is the only menial, you can imagine anything.

如果您可以想象一个计算机机器人是唯一的专家的社会,那么您可以想象任何事情。

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

Programming is an unnatural act.

编程是不自然的行为。

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

Adapting old programs to fit new machines usually means adapting new machines to behave like old ones.

适应旧程序以适应新机器通常意味着适应新机器以使其表现与旧机器相似。

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

一个人的常数是另一个人的变量。

One man's constant is another man's variable.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

功能延迟绑定;数据结构诱导绑定。道德:在编程过程中后期构造数据。

Functions delay binding; data structures induce binding. Moral: Structure data late in the programming process.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

句法糖引起分号的癌症。

Syntactic sugar causes cancer of the semicolon.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

每个程序都是其他程序的一部分,很少适合。

Every program is a part of some other program and rarely fits.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

如果程序处理大量数据,则它会以几种方式进行处理。

If a program manipulates a large amount of data, it does so in a small number of ways.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

对称性是降低复杂性的概念(协同例程包括子例程);到处寻找它。

Symmetry is a complexity-reducing concept (co-routines include subroutines); seek it everywhere.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

编写错误的程序要比理解正确的程序容易。

It is easier to write an incorrect program than understand a correct one.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

当一种程序语言的程序需要引起注意时,它是低级的。

A programming language is low level when its programs require attention to the irrelevant.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

在一个数据结构上运行100个函数比在10个数据结构上运行10个函数要好。

It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

尽早发车:以相同的方式执行相同的过程。积累习语。标准化。莎士比亚与您之间的唯一区别(!)是他的成语列表的大小,而不是他的词汇量。

Get into a rut early: Do the same process the same way. Accumulate idioms. Standardize. The only difference(!) between Shakespeare and you was the size of his idiom list - not the size of his vocabulary.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

如果您的过程有10个参数,则可能会错过一些参数。

If you have a procedure with ten parameters, you probably missed some.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

递归是计算的根源,因为它需要时间来描述。

Recursion is the root of computation since it trades description for time.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

如果两个人编写的程序完全相同,则每个人都应放入微码中,然后他们肯定会不同。

If two people write exactly the same program, each should be put into microcode and then they certainly won't be the same.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

从长远来看,每个程序都会变成洛可可式的,然后变成瓦砾。

In the long run every program becomes rococo - then rubble.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

除第一次外,所有内容均应自上而下构建。

Everything should be built top-down, except the first time.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

每个程序都有(至少)两个目的:一个目的是为它编写的,另一个不是目的。

Every program has (at least) two purposes: the one for which it was written, and another for which it wasn't.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利

如果您在解释程序时听众点头,请叫醒他。

If a listener nods his head when you're explaining your program, wake him up.

艾伦·佩利名人名言哲理格言警句语录
艾伦·佩利