3 ms·
Note that the cost of interface{} is, essentially the same cost java imposes. Luckily it's used less, but that doesn't change it really. Anything becomes a dou
by waps 12y ago
Note that the cost of interface{} is, essentially the same cost java imposes.
Luckily it's used less, but that doesn't change it really. Anything becomes a double pointer indirect.
And just for completeness : even java has better tools for abstractions.