▲ | 0x696C6961 4 days ago | |
Channels are just another synchronization primitive in your toolbox. They do make some things much simpler, but there's no reason to reach for one if a mutex does the job. The usage of mutexes doesn't make channels "bad" for the same reason that usage of atomics doesn't make mutexes bad. |