• 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!

  • 相关阅读:
    v-for给img的src动态赋值问题
    关于vue+axios上传文件的踩坑分析
    关于nth-of-type和nth-child的关系
    关于fetch
    关于移动端适配
    golang变量作用域问题-避免使用全局变量
    grpc-gateway:grpc转换为http协议对外提供服务
    google的grpc在golang中的使用
    golang中的rpc包用法
    homebrew常用命令
  • 原文地址:https://www.cnblogs.com/turningli/p/10278297.html
Copyright © 2020-2023  润新知