I know about reifed types that allow a simpler syntax, but my question is more about why it was made this way
CLOVIS
02/22/2020, 8:16 PM
It looks more Java-like this way, but apparently Scala did it the other way. I guess it's because it removes some ambiguity somewhere, but I don't see in which case it's a problem...
s
streetsofboston
02/22/2020, 8:41 PM
Because
String
would refer to its companion object (if it had one 😀)