5 ms·
I have written a library actually. I found interfaces perfectly sufficient for allowing applications to consume the contracts of the library without needing gen
by Veraticus 3y ago
I have written a library actually. I found interfaces perfectly sufficient for allowing applications to consume the contracts of the library without needing generics. Of course I understand that they have a use and are useful, but it's not like there weren't excellent solutions for this in Go before generics existed.