[转] 懒惰、急躁和傲慢 (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)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux内核如何读写ddr,linux
- 下一篇: 期市财盛:9月12日美原油期货日内行情分