←back to thread

159 points mpweiher | 1 comments | | HN request time: 0.206s | source
1. codr7 ◴[] No.43675437[source]
Agreed, channels are overrated and overused in Go.

Like closures, channels are very flexible and can be used to implement just about anything; that doesn't mean doing so is a good idea.

I would likely reach for atomics before mutexes in the game example.