4 ms·
> C doesn't have them and is arguably the most successful language in history. And many C programs just emulate them using crazy macros, that are harder to wri
by zajio1am 6y ago
> C doesn't have them and is arguably the most successful language in history.
And many C programs just emulate them using crazy macros, that are harder to write and are less typesafe than proper generics.
- gwd 6y agoI 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.