Hacker News new | ask | show | jobs
by LanceH 3144 days ago
The majority may want generics.

I don't know that the majority want generics at the expense of compile times or other possible tradeoffs.

1 comments

This is exactly my feeling. I don't want generics if I have to pay anything for them in build time, or if it limits go/ast or go/types. A lack of generics has been a pain point a couple of times in my current project (beyond what very simple code generators can provide), but crazy fast build times have been a massive benefit.

Imagine how much wailing and gnashing of teeth there will be if Go 2 delivers generics but with triple the build time and +50% binary size... if you thought the minority was vocal now, wait til you see that!