3 ms·
I think Go's context objects serve a similar purpose to dynamic scope? https://pkg.go.dev/context https://pkg.go.dev/context It seems like pretty much anythin
by skybrian 4y ago
I think Go's context objects serve a similar purpose to dynamic scope?
https://pkg.go.dev/context https://pkg.go.dev/context
It seems like pretty much anything that lets you pass in an environment as a function parameter would work.
- agumonkey 4y agoI believe dynamic variables are reinvented every year. Even dependency injection seems like a sibling.