News for hackers. Stuff that matters.
Re:Maybe adding generics to Go is about syntax after all by jonathankoren on Tuesday September 04, 2018 @12:13PM (#17910088)
Actually, two of the pain points of Go is not knowing exactly what interfaces a class implements, and finding out that you misimplemented an interface but not discover this static analysis until you get a runtime type check failure.

All this pain for what boils down to not having to make a wrapper. Sure wrappers are dumb, but pushing a static analysis out to a run time error dumber, especially since implementing interfaces is a lot more common than wrapping 3rd party structs.

There are no comments on this comment yet.