zoukankan      html  css  js  c++  java
  • go 格言

    转自: http://go-proverbs.github.io/

    Simple, Poetic, Pithy

    Don't communicate by sharing memory, share memory by communicating.

    Concurrency is not parallelism.

    Channels orchestrate; mutexes serialize.

    The bigger the interface, the weaker the abstraction.

    Make the zero value useful.

    interface{} says nothing.

    Gofmt's style is no one's favorite, yet gofmt is everyone's favorite.

    A little copying is better than a little dependency.

    Syscall must always be guarded with build tags.

    Cgo must always be guarded with build tags.

    Cgo is not Go.

    With the unsafe package there are no guarantees.

    Clear is better than clever.

    Reflection is never clear.

    Errors are values.

    Don't just check errors, handle them gracefully.

    Design the architecture, name the components, document the details.

    Documentation is for users.

    Don't panic.

  • 相关阅读:
    第四次课堂作业
    12周课后作业
    12周上机(5.21)
    11周周五课后作业
    11周上机作业(5.14)
    第十周(5.7)上机
    第九周4.30上机作业
    第八周周五课后作业
    4.23 第八周上机作业
    4.17课后作业
  • 原文地址:https://www.cnblogs.com/leoncfor/p/5000657.html
Copyright © 2011-2022 走看看