Comment Comment by latronic_notron Just curious: why don't you want generics in Go?The language already uses them for Arrays, Maps and Slices, plus a lot of code relies on runtime-typed ad-hoc generics with interface{}.It's not as if Go is a language without warts... there's a lot of ugly stuff, like Iota, Reflection, the error handling, interface{} itself.This is a legitimate question, btw. Legitimately looking for other points of view parent latronic_notron 7 years ago
The language already uses them for Arrays, Maps and Slices, plus a lot of code relies on runtime-typed ad-hoc generics with interface{}.
It's not as if Go is a language without warts... there's a lot of ugly stuff, like Iota, Reflection, the error handling, interface{} itself.
This is a legitimate question, btw. Legitimately looking for other points of view