最好的程序是这样编写的:计算机可以快速执行它们,而人类可以清楚地理解它们。理想情况下,程序员是一位散文家,他使用传统的美学和文学形式以及数学概念来传达算法的工作原理,并说服读者结果是正确的。
The best programs are written so that computing machines can perform them quickly and so that human beings can understand them clearly. A programmer is ideally an essayist who works with traditional aesthetic and literary forms as well as mathematical concepts, to communicate the way that an algorithm works and to convince a reader that the results will be correct.
我们每个人都是自己故事的作者,尽管有时我们无法控制故事的结局。
【译文】 颜渊感叹地说:“老师的学问越仰望越觉得高耸,越钻研越觉得深厚;看着就在前面,忽然却在后面。老师步步引导,用知识丰富我,用礼法约束我,想不学都不成。