3 ms·
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 deadl
by pornel 2y ago
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.