6 ms·
Most generic implementations are not Turing-complete, and looking at C++, this doesn't sound like a particularly tempting proposition. And while I'm not partic
by mercurial 11y ago
Most generic implementations are not Turing-complete, and looking at C++, this doesn't sound like a particularly tempting proposition.
And while I'm not particularly familiar with Go, I don't see how you can get a feature set equivalent to a simple implementation like Java's out of Go interfaces ("you can just cast" is not a good answer).
- gendoikari 11y agoI'm probably missing the use case. What is the problem that you are thinking of, you can't solve with a Go interface?
- mercurial 11y agoSay, a generic container.