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!

  • 相关阅读:
    [CF1295E] Permutation Separation
    [APIO2010] 特别行动队
    [CF1296F] Berland Beauty
    [CEOI2004] 锯木厂选址
    [CF1334E] Divisor Paths
    Review 2020.11.14
    [CQOI2016] 手机号码
    [LEETCODE600] 不含连续1的非负整数
    [CF55D] Beautiful numbers
    内存取证工具volatility
  • 原文地址:https://www.cnblogs.com/turningli/p/10278297.html
Copyright © 2011-2022 走看看