3 ms·
Is creating a new named type, creating a instance, and passing a pointer really what passes for "dynamic" in the Go world?
by TylerE 12y ago
Is creating a new named type, creating a instance, and passing a pointer really what passes for "dynamic" in the Go world?
- themartorana 12y agoThere isn't much in Go that is dynamic. This looks to me to be some convenience around commonly consumed patterns applied to normal static struct definitions in Go. Go does have reflection, but it's inspection mostly to take formatted data (JSON, etc.) and fill in statically defined structs with some hinting. I don't think this is trying to be "passed off" as "dynamic." Edit: I see "dynamic" is in the repo title. I concede the point - dynamic ain't the right word here, I would think.
- deleted 12y ago[deleted]