3 ms·
Nominal subtyping is trivial and unsafe. The fun starts with structural subtyping.
by rurban 7y ago
Nominal subtyping is trivial and unsafe. The fun starts with structural subtyping.
- seanmcdirmid 7y agoNominal sub typing is hard from trivial and calling it unsafe is non-sensical. Structural subtyping yields poor error messages and does not support encapsulation very well, especially if you also want separate compilation.