V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
arbipher
V2EX  ›  分享创造

翻译了 Alen Jay Perlis 的 Epigrams on Programming

  •  
  •   arbipher · 2014-09-08 14:57:01 +08:00 · 3007 次点击
    这是一个创建于 3489 天前的主题,其中的信息可能已经有所发展或是发生改变。

    放在readthedocs上,链接如下:
    http://epigrams-on-programming.readthedocs.org/zh_CN/latest/epigrams.html

    Epigrams on Programming中有epigram 130句。经常在各种文章和书籍中看到有人引用,索性就把全文读了一遍。读完觉得确实有趣,就翻译了一下。

    Alen Jay Perlis美国计算机科学家,程序员中的上古巨神,因在编程语言中的早期探索和获得首届图灵奖闻名。

    虽然只有130句话,翻词典、考据、推敲句子、学reST、sphinx,加起来也弄了两天。

    有些句子挺有趣的,比如:

    • Syntactic sugar causes cancer of the semi-colons.

    • It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.

    • If you have a procedure with 10 parameters, you probably missed some.

    • Don't have good ideas if you aren't willing to be responsible for them.

    3 条回复    2014-09-08 17:15:52 +08:00
    USCONAN
        1
    USCONAN  
       2014-09-08 15:57:47 +08:00
    Bump!
    eriale
        2
    eriale  
       2014-09-08 17:05:41 +08:00
    116 You think you know when you learn, are more sure when you can write, even more when you can teach, but certain when you can program.
    116 大概意思是:只有动手写代码实现的时候才能确定自己完全理解了知识或者问题。这个应该就是解释掌握知识的层次。
    hewigovens
        3
    hewigovens  
       2014-09-08 17:15:52 +08:00
    排版看着有点累, 紧凑点比较好看吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5534 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 97ms · UTC 09:04 · PVG 17:04 · LAX 02:04 · JFK 05:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.