日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

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

發布時間:2023/12/8 93 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [转] 懒惰、急躁和傲慢 (Laziness, Impatience and hubris) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

轉自:http://www.ruanyifeng.com/blog/2006/05/laziness_impatience_and_hubris.html

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.

傲慢:

極度的自信,使你有信心寫出(或維護)別人挑不出毛病的程序。

總結

以上是生活随笔為你收集整理的[转] 懒惰、急躁和傲慢 (Laziness, Impatience and hubris)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。