News for hackers. Stuff that matters.
Re:Golang generics proposal has been accepted by zajio1am on Wednesday February 10, 2021 @03:27PM (#26094276)
> 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.

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.