4 ms·
> How can you say that subtyping is not useful? Well I said less useful. The applications you list can be solved without the nominal subtyping that Scala has i
by grumpyprole 4y ago
> How can you say that subtyping is not useful?
Well I said less useful. The applications you list can be solved without the nominal subtyping that Scala has invested in. Sometimes Scala feels as permissive as a dynamic language, for example an erroneous integer in an array of floats, is still a valid array, it's inferred as an array of "Any".