4 ms·
> The reason Scala has so many features is that it chooses to be 100% compatible with Java, Not sure what you mean, the ABI compatibility doesn't require any f
by incepted 11y ago
> The reason Scala has so many features is that it chooses to be 100% compatible with Java,
Not sure what you mean, the ABI compatibility doesn't require any feature to work. Does Scala support higher kinded types to be compatible with Java? This does not make sense to me.
- tormeh 11y agoScala is stack-compatible with Java. You can call any Java function from Scala and vice versa. Additionally, for ease of migration, any valid Java class is a valid Scala class. The Scala standard library includes the Java standard library copy-pasted in. For the sentence "Scala is compatible with Java", there is almost no interpretation of "compatible" that would make the sentence untrue.