3 ms·
I've found channels create more complexity than their usually worth and it's often simpler, more readable, and more maintainable to just use a sync.Mutex or syn
by meddlepal 7y ago
I've found channels create more complexity than their usually worth and it's often simpler, more readable, and more maintainable to just use a sync.Mutex or sync.RWMutex.
- shakezula 7y agoI'd be hard-pressed to disagree. The entire time reading this blog post, I was confused why a plain function couldn't have been used instead.