2 ms·
> I'm disappointed to see that Scala has largely preserved Java's inheritance model. Scala builds on the JVM and exposes the Java standard library. It doesn't
by JoshTriplett 11y ago
> I'm disappointed to see that Scala has largely preserved Java's inheritance model.
Scala builds on the JVM and exposes the Java standard library. It doesn't have much choice in supporting that model. In theory, Scala could provide additional support for an alternate model, but that would add complexity without taking any away, and would require defining how the two models interact.
- lbarrow 11y agoThat's a fair point. Scala definitely seems to have had to compromise the quality of the language features it offers in order to achieve Java interop.