需要牢记这些谚语,在使用过程中感受谚语带来的变化
- 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
|
|
- Don’t just check errors, handle them gracefully
|
|
- Don’t panic
|
|