2 ms·
Do you know about type inference?
by woah 8y ago
Do you know about type inference?
- mcv 8y agoI do. I thought Java didn't have it, but apparently starting with Java 10, it does. Type inference isn't always good, though. Scala's type system can be quite horrible in places, although I think the idea is generally good, particularly for local variables.