懒惰、急躁和傲慢(Laziness, Impatience and hubris)

作者: 阮一峰

日期: 2006年5月15日

Perl语言的发明人Larry Wall说,好的程序员有3种美德: 懒惰、急躁和傲慢(Laziness, Impatience and hubris)。

Laziness

The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don't have to answer so many questions about it. Hence, the first great virtue of a programmer, Also hence, this book.

懒惰

是这样一种品质,它使得你花大力气去避免消耗过多的精力。它敦促你写出节省体力的程序,同时别人也能利用它们。为此你会写出完善的文档,以免别人问你太多问题。

Impatience

The anger you feel when the computer is being lazy. This makes you write programs that don't just react to your needs, but actually anticipate them. Or at least pretend to. Hence, the second great virtue of a programmer.

急躁

是这样一种愤怒----当你发现计算机懒洋洋地不给出结果。于是你写出更优秀的代码,能尽快真正的解决问题。至少看上去是这样。

Hubris

Excessive pride, the sort of thing Zeus zaps you for. Also the quality that makes you write (and maintain) programs that other people won't want to say bad things about. Hence, the third great virtue of a programmer.

傲慢

极度的自信,使你有信心写出(或维护)别人挑不出毛病的程序。

留言(6条)

贬义词的新用法~呵呵~

呵呵,站长懒惰?真没法看出来……

呵呵
路过
很喜欢看你翻译的东东
文笔有深度

一定是个很有思想的哥们

好的程序员有3种美德,从逻辑上无法推导出:有3种美德的程序员就是好的程序员。

引用Rui的发言:

好的程序员有3种美德,从逻辑上无法推导出:有3种美德的程序员就是好的程序员。

难道非得说成“好的程序员是当且仅当有3种美德”这样吗?日常语言简化省略是很正常的吧

引用Anonymous的发言:

难道非得说成“好的程序员是当且仅当有3种美德”这样吗?日常语言简化省略是很正常的吧

“当且仅当”也没用。这是必要非充分条件,即:好的程序员都有这三个特征;但反过来有这三个特征的程序员未必能成为好程序员,哪怕他只有这三个特征。

我要发表看法

«-必填

«-必填,不公开

«-我信任你,不会填写广告链接