News for hackers. Stuff that matters.
Re:Maybe adding generics to Go is about syntax after all by singingboyo on Tuesday September 04, 2018 @04:45PM (#17912636)
interface {} definitely does throw away type safety, however, and is reasonably necessary for some library use cases. Is it possible that you're coming at this from an angle of building applications for specific purposes, while oppositelock is building more libraries?

My experience (admittedly limited) is that application writing in Go is nice, but as soon as I try to build a library for use in several similar (but not quite identical) cases, maintaining type safety can quickly become a hassle.

There are no comments on this comment yet.