Re:Golang generics proposal has been accepted
by gwd on Thursday February 11, 2021 @05:03AM
(#26099911)
I was going to say -- the way you write a lot of "generic" code in C is with macros. Coming to Golang from C and having neither C-style macros nor proper generics was quite painful.
And many C programs just emulate them using crazy macros, that are harder to write and are less typesafe than proper generics.