2 ms·
The difference is that other languages which originally had the Option type don't have null, so it's the only option. I meant it's typical of Java to take featu
by userbinator 11y ago
The difference is that other languages which originally had the Option type don't have null, so it's the only option. I meant it's typical of Java to take features from other languages, resulting multiple slightly-different-but-incompatible ways to achieve the same thing.
- harryh 11y agoI certainly agree that Java would be a much better language if NULL could be eliminated completely. Backwards compatibility though... sigh