美文网首页
程序员三大美德

程序员三大美德

作者: 当梨花开满天涯 | 来源:发表于2020-05-13 17:01 被阅读0次

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.
因此,程序员第三大美德。

Perl 创始人 Larry Wall

相关文章

  • 懒惰模式

    "懒惰、傲慢、缺乏耐性是程序员的三大美德"——Larry Wall(Perl's father) 很久以前,《设计...

  • 程序员三大美德

    Laziness 懒惰 The quality that makes you go to great effort...

  • iOS之Travis CI自动分发到蒲公英、fir

    懒是程序员的美德,作为程序员应该善用工具提高自己的工作效率。在我最早的时候,我是个“勤奋”的人,写好代码后,如果要...

  • 程序员的三大美德

    Laziness: The quality that makes you go to great effort t...

  • 2020程序员效率提升指南-硬件篇

    前言 Perl语言的发明者Larry Wall曾经说过,程序员有三大美德:懒惰、不耐烦、傲慢。(详情可参考 htt...

  • 华山论剑之iOS内存,内存管理,copy(拷贝)

    我想大部分人都知道通常一个程序员会具有的美德。当然了,有三种:懒惰,暴躁,傲慢。 ----Perl语言发明者La...

  • 《2020 Offer收割机》| 线程安全法则

    一个优秀程序员的最大的美德是懒惰 授你以鱼不如授你以渔 王炸不教你技术,只教你学技术 作者:王炸 |【坚持1000...

  • 终于赶走那些恼人的警告了

    终于赶走那些恼人的警告了 程序员的3个美德,其中之一就是懒惰,凡是不影响大局的代码警告我都懒得去解决,比如每次启动...

  • 新概念

    简历美德与悼词美德 from TED

  • 美德

    日记130 今天是星期天,我单位也刚好歇班,轻松的日子,昨天孩子的书画课也提前上了。打算好好休息一天。 ...

网友评论

      本文标题:程序员三大美德

      本文链接:https://www.haomeiwen.com/subject/nxqonhtx.html