Go 官方谚语10+条

Go 官方谚语10+条

  • Go 官方谚语10+条

Go 官方谚语10+条

  1. 不要通过共享内存来通信,通过通信来共享内存(Don’t communicate by sharing memory, share memory by communicating)。
  2. 并发不是并行(Concurrency is not parallelism)。
  3. 通道是协调的,互斥是串行的(Channels orchestrate; mutexes serialize)。
  4. 接口越大,抽象性越弱(The bigger the interface, the weaker the abstraction)。
  5. 让零值变得有用(Make the zero value useful)。
  6. interface{} 什么也没说(interface{} says nothing)。
  7. Gofmt 的风格没有人喜欢,但 Gofmt 却是大家的最爱(Gofmt’s style is no one’s favorite, yet gofmt is everyone’s favorite)
  8. 复制一点总比依赖一点好(A little copying is better than a little dependency)。
  9. Syscall 必须始终用 build

你可能感兴趣的:(Go语言开发笔记,golang,开发语言,后端)