3 ms·
Generics very nice as a library writer but in my own application code, I usually have no uses of them. You have language features which are not needed for the
by Loic 3y ago
Generics very nice as a library writer but in my own application code, I usually have no uses of them.
You have language features which are not needed for the ones using directly (for the lack of better term) the language and but really nice for the people providing building blocks for them.
I am using generics in other languages than Go but not in Go as I am normally not writing libraries in Go or they are already so specific that generics are not needed.