3 ms·
> without these language features I don't see how the Result<T> approach is better. That's the point! I want language features! I don't want to wait 6 years
by mrkeen 6y ago
> without these language features I don't see how the Result<T> approach is better.
That's the point! I want language features!
I don't want to wait 6 years for the designers to bake some new operator into the language. I want rich enough expression so that if '?.' is missing I just throw it in as a one-liner.
Generics is one such source of richness.