海上月明

          editer by sun
          posts - 162, comments - 51, trackbacks - 0, articles - 8
             :: 首頁 :: 新隨筆 ::  :: 聚合  :: 管理

          The Zen of Python, by Tim Peters

          Posted on 2007-12-20 21:26 pts 閱讀(309) 評論(0)  編輯  收藏 所屬分類: Python
          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!



          Powered by ScribeFire.

          主站蜘蛛池模板: 上林县| 嘉定区| 简阳市| 策勒县| 南漳县| 保靖县| 景东| 南岸区| 抚顺县| 榆中县| 海伦市| 贺州市| 邻水| 遵义市| 卢龙县| 晋中市| 高密市| 郑州市| 青州市| 孟州市| 桑植县| 遂平县| 太康县| 安远县| 张家口市| 文水县| 民勤县| 织金县| 绥棱县| 河北区| 江口县| 东宁县| 萨嘎县| 沛县| 江安县| 临猗县| 平邑县| 江孜县| 疏勒县| 开化县| 登封市|