3 ms·
IDK, having never seen or used Go's contexts, the `With` prefix immediately made me think that it likely created a new context: it's a common naming convention
by masklinn 6y ago
IDK, having never seen or used Go's contexts, the `With` prefix immediately made me think that it likely created a new context: it's a common naming convention in Rust or Python.
I'd have expected `SetValue` for updating keys in-place.
That `WithValue` creates an "inheritance" relationship surprised me a lot more, that I did not expect.