Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: