3 ms·
I agree it doesn't change the semantics, and that you can express the same set of programs (given that you still let people explicitly handle contexts, send the
by riwsky 8y ago
I agree it doesn't change the semantics, and that you can express the same set of programs (given that you still let people explicitly handle contexts, send them over channels, etc). I just mean to highlight that removing context-usage information from go function signatures does not mean that usage or non-usage of context isn't part of a function's API—it's just now global state, and needs to consider its interactions with everything else in the same routine (instead of everything lexically in scope).