Re:Go 1.10 Beta 1 is released
by willtim on Friday December 08, 2017 @07:12AM
(#15878184)
The "wait and see" approach as you call it, means that "Generics" (a.k.a. parametric polymorphism) have had to be retro-fitted to languages like Java. This means they are more complex than they need to be and have some ugly edge cases.
[ Parent
| on HN ]
Re:Go 1.10 Beta 1 is released
by erik_seaberg on Friday December 08, 2017 @01:40PM
(#15880804)
This. We still can't overload foo(List<Integer> x) and foo(List<String> x) because vintage 2004 JVMs wouldn't be able to distinguish them. Type erasure was a horrible compromise from which Java will probably never completely recover.