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

Channels are only problematic if they're the only tool you have in your toolbox, and you end up using them where they don't belong.

BTW, you can create a deadlock equivalent with channels if you write "wait for A, reply with B" and "wait for B, send A" logic somewhere. It's the same problem as ordering of nested locks.



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

Search: