3 ms·
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 mea
by codr7 1y ago
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.