3 ms·
Go does have some things like interfaces that don't work quite like they do in other languages. I have yet to see a full technical proposal that integrates wel
by ansible 11y ago
Go does have some things like interfaces that don't work quite like they do in other languages.
I have yet to see a full technical proposal that integrates well with the existing language features and has no nasty corner cases. If such a thing existed, I'd be among the first to stand up and applaud it.
The best solution currently (IMHO), is code generation with things like gen [1]. Though I have yet to use that in a real project, so I can't say for sure it is actually the best solution.
[1] https://clipperhouse.github.io/gen/ https://clipperhouse.github.io/gen/