zoukankan      html  css  js  c++  java
  • 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
    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!

  • 相关阅读:
    第三方中间件 body-parser解析表单数据
    Express内置的中间件(express.json和express.urlencoded)格式的请求体数据
    用内置 querystring 模块解析请求体数据
    1108 低价购买
    1091 合唱队形
    1064 金明的预算方案
    1048 采药 & 1049 装箱问题
    1434 滑雪
    1443 马的遍历
    1141 01迷宫
  • 原文地址:https://www.cnblogs.com/turningli/p/10278297.html
Copyright © 2011-2022 走看看