Explain: Don't communicate by sharing memory; share memory by communicating
问题 I wonder what is the most down to earth explanation of this famous quote: Don't communicate by sharing memory; share memory by communicating. (R. Pike) In The Go Memory Model I can read this: A send on a channel happens before the corresponding receive from that channel completes. (Golang Spec) There is also a dedicated golang article explaining the quote. And key contribution is a working example also by Andrew G. Well. Sometimes too much talking around .... I have derived from the Memory