by eloff · 12y ago · 0 comments
Need it for floats, duplicate it again.
This is a solved problem -- the fact Go doesn't have the solution reflects very poorly on Go.
Of course it sucks, but at least c has the excuse of being from the 70's.
Also, they support higher-order kinds (a template parameterized by a template). And specialization (specifying special cases). And automatic instantiation based on the static types at the call site. Etc.