News for hackers. Stuff that matters.
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.
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.
Re:Go 1.10 Beta 1 is released by pjmlp on Friday December 08, 2017 @08:56AM (#15878610)
In C11 they are even uglier with the _Generic selector, which understandably was made to work together with how generics were done via pre-processor macros.