News for hackers. Stuff that matters.
Re:Go 1.10 Beta 1 is released by pjmlp on Friday December 08, 2017 @05:37AM (#15877863)
Because C actually has better support than Go for generics.

They could be faked with macros since the early days, which was what Borland's BIDS framework in Borland C++ 2.0 for MS-DOS made use of, dropped when version 3.0 with initial template support was released (around 1992).

Additionally, C now has basic language support for generics in C11 with _Generic.

Re:Go 1.10 Beta 1 is released by jernfrost on Friday December 08, 2017 @07:37AM (#15878263)
Except adding tools for doing some kind of macros is much simpler in Go than C because the language is easier to parse. What stops you from using a preprocessor in Go? It is not really part of the compiler in C either.
Re:Go 1.10 Beta 1 is released by pjmlp on Friday December 08, 2017 @08:59AM (#15878636)
Sure it is, ANSI C11 (ISO/IEC 9899:2011) chapter 6.1 and section 6.5.1.1.
Re:Go 1.10 Beta 1 is released by growse on Friday December 08, 2017 @06:05AM (#15877970)
Fair enough, my C knowledge is a little behind the curve.