Re:Why I like Golang's interfaces
by camus2 on Thursday April 13, 2017 @01:20PM
(#14109004)
But with Java the point is that you'd approach the issue differently without being overly verbose just like Go. I mean my example is clear. You wouldn't have to cast anything provided you use generics at first place.
I agree that having generics in Go would be fantastic, and I'm excited at rsc's articulation of why. But they don't completely solve this problem.