News for hackers. Stuff that matters.
Re:Generics in Go with Ian Lance Taylor (2019) by apta on Thursday February 20, 2020 @03:47PM (#22378451)
> because you can stick a Double in one of them and blow up everyone expecting only whole numbers.

Generics in Java are invariant, so what you're describing will not work.

There are no comments on this comment yet.