美文网首页
蛇宗三字经

蛇宗三字经

作者: 种花家LY | 来源:发表于2017-08-29 15:43 被阅读80次

    The Zen of Python, by Tim Peters

    Beautiful is better than ugly.

    Explicit is better than implicit.

    Simple is better than complex.

    Complex is better than complicated.

    Flat is better than nested.

    Sparse is better than dense.

    Readability counts.

    Special cases aren't special enough to break the rules.

    Although practicality beats purity.

    Errors should never pass silently.

    Unless explicitly silenced.

    In the face of ambiguity, refuse the temptation to guess.

    There should be one-- and preferably only one --obvious way to do it.

    Although that way may not be obvious at first unless you're Dutch.

    Now is better than never.

    Although never is often better than *right* now.

    If the implementation is hard to explain, it's a bad idea.

    If the implementation is easy to explain, it may be a good idea.

    Namespaces are one honking great idea -- let's do more of those!


    无意间发现了彩蛋.... 哈哈哈~

    The Zen of Python,

    蛇宗三字经

    作者:Tim Peters

    翻译:元创

    Beautiful is better than ugly.

    美胜丑

    Explicit is better than implicit.

    明胜暗

    Simple is better than complex.

    简胜复

    Complex is better than complicated.

    复胜杂

    Flat is better than nested.

    浅胜深

    Sparse is better than dense.

    疏胜密

    Readability counts.

    辞达意

    Special cases aren't special enough to break the rules.

    不逾矩

    Although practicality beats purity.

    弃至清

    Errors should never pass silently.

    无阴差

    Unless explicitly silenced.

    有阳错

    In the face of ambiguity, refuse the temptation to guess.

    拒疑数

    There should be one-- and preferably only one --obvious way to do it.

    求完一

    Although that way may not be obvious at first unless you're Dutch.

    虽不至,向往之

    Now is better than never.

    敏于行

    Although never is often better than *right* now.

    戒莽撞

    If the implementation is hard to explain, it's a bad idea.

    差难言

    If the implementation is easy to explain, it may be a good idea.

    好易说

    Namespaces are one honking great idea -- let's do more of those!

    每师出,多有名

    The Zen of Python,

    蛇宗三字经

    作者:Tim Peters

    翻译:元创

    Beautiful is better than ugly.

    美胜丑

    Explicit is better than implicit.

    明胜暗

    Simple is better than complex.

    简胜复

    Complex is better than complicated.

    复胜杂

    Flat is better than nested.

    浅胜深

    Sparse is better than dense.

    疏胜密

    Readability counts.

    辞达意

    Special cases aren't special enough to break the rules.

    不逾矩

    Although practicality beats purity.

    弃至清

    Errors should never pass silently.

    无阴差

    Unless explicitly silenced.

    有阳错

    In the face of ambiguity, refuse the temptation to guess.

    拒疑数

    There should be one-- and preferably only one --obvious way to do it.

    求完一

    Although that way may not be obvious at first unless you're Dutch.

    虽不至,向往之

    Now is better than never.

    敏于行

    Although never is often better than *right* now.

    戒莽撞

    If the implementation is hard to explain, it's a bad idea.

    差难言

    If the implementation is easy to explain, it may be a good idea.

    好易说

    Namespaces are one honking great idea -- let's do more of those!

    每师出,多有名

    相关文章

      网友评论

          本文标题:蛇宗三字经

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