我今天读了一篇 推特的文章,上面说:
有趣的是,Java 用户抱怨类型擦除,这是 Java 唯一做对的事情,却忽略了它做错的所有事情。
因此,我的问题是:
Are there benefits from Java's type erasure? What are the technical or programming style benefits it (possibly) offers other than the JVM implementations preference for backwards compatibility and runtime performance?