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

What about the "select" statement for it's remedy?


That just gives you more complicated deadlocks. You still have to be aware of the potential for tasks to deadlock and consciously design them not to do that. It's a problem that does come up all the time in Go programs, but tends to come up quickly enough (due to the way concurrency is designed in Golang) that you fix it quickly, like an accidental nil reference in a Ruby program.




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

Search: