3 ms·
If a language erases all types, like Haskell, it's fine. If a language doesn't erase any types, like C#, it's fine. If a language erases types in some places bu
by josephcsible 5y ago
If a language erases all types, like Haskell, it's fine. If a language doesn't erase any types, like C#, it's fine. If a language erases types in some places but not others, like Java, you get all sorts of awful problems.
- azth 5y agoCould you provide examples of such? I'm not aware that the Java team mentioned any when positing the primitive specialization design.