News for hackers. Stuff that matters.
Re:Go 1.18 by lifty on Wednesday March 16, 2022 @07:19AM (#30697453)
And now we introduced 2 new problems: 1. We have 2 ways of doing stuff (boring loop vs map) 2. We have a new hidden way to introduce performance degradation by importing a library that uses map

You might argue that you should know what you're importing, but in practice, it can hurt the overall ecosystem. I'm still supporting the introduction of generics, but the tradeoff should be clear to everyone.

There are no comments on this comment yet.