News for hackers. Stuff that matters.
Re:Half a million lines of Go by loopz on Monday May 17, 2021 @03:57AM (#27181018)
If you can avoid interface{} you should, ie. by declaring interfaces to types and using them explicitly. You can then mix your own types, and still be protected by the type system.
Re:Half a million lines of Go by takeda on Monday May 17, 2021 @12:10PM (#27185083)
Yes, but that requires generics and without them code generators (and if you don't use them, a lot of copy & paste).