3 ms·
Chris’s blog is general quite good, but I thought this entry was weak. I guess he doesn’t use context much for his devops stuff. If you use context at all, you
by earthboundkid 6y ago
Chris’s blog is general quite good, but I thought this entry was weak. I guess he doesn’t use context much for his devops stuff.
If you use context at all, you know that it doesn’t mutate in place. That’s why it’s goroutine safe. It’s the whole point of using context. The answer to the pop quiz was obvious, and I only second guessed myself because I thought it must be a trick question somehow. Like “well obviously you can’t mutate a context but maybe context.TODO is broken somehow”.