3 ms·
Russ Cox clearly said the subject of generics is still on the table: https://research.swtch.com/go2017#generics https://research.swtch.com/go2017#generics
by ngrilly 9y ago
Russ Cox clearly said the subject of generics is still on the table:
https://research.swtch.com/go2017#generics https://research.swtch.com/go2017#generics
- bitwize 9y agoI'd like to see Go adopt Ada-style generics. They are a bit more cumbersome to use than templates in C++, but they allow for reuse of code across instantiations of the same generic that have the same actuals, thus shortening compilation times.