2 ms·
Yeah, but those complex control flows are not free. Drop-to-cancel is a rather powerful foot gun in many cases. Basically you throw out invariants that most peo
by klabb3 4y ago
Yeah, but those complex control flows are not free. Drop-to-cancel is a rather powerful foot gun in many cases. Basically you throw out invariants that most people takes for granted, e.g. if a function is started it will complete before exiting the caller's scope.
Regarding cancelation, I think Go got it near perfect with contexts, modulo the explicitness of it. What don't you like about it?