Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 2.92 KB

course.md

File metadata and controls

55 lines (45 loc) · 2.92 KB

Manifesto of good gophers

A good software developer

  • Write unit test
  • Write testable code

Git know how

  • How to write a git commit
  • Git branching model
  • Pull request

Fundamental should read

Tips & Trick

Understanding of go proverbs

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