3 ms·
Not sure why you think it is heinous but I agree with the other part. In a language where null was the default I do not see a migration path where Option<T> can
by jeltz 2y ago
Not sure why you think it is heinous but I agree with the other part. In a language where null was the default I do not see a migration path where Option<T> can be used. Option<T> only works for languages where nullability was never a thing. The issue is obvious in how useless the Optional<T> class in Java is.
- shepherdjerred 2y agoHow is Optional useless? I've found it to be very ergonomic, though I do wish there was more support for it in the standard library.