News for hackers. Stuff that matters.
Re:Half a million lines of Go by ZealousIdeal on Sunday May 16, 2021 @08:28PM (#27178698)
While generics will allow for such to occur, IMO if the "idiomatic style" is to only leverage it for specific patterns then it should not really hurt general readability for the most used frameworks/libraries. There will, of course, be some tradeoffs that authors will make, but overall I'm hoping it enhances readability, especially for the code my team and I write at least. Looking at the proposal, there is a lot of practical debate about naming, consistency with bytes methods, etc. and such honest debate keeps me optimistic.

There are no comments on this comment yet.