2 ms·
I might agree more if async was just doing the Future type wrapping. However, because it is doing much more, it feels fundamentally different (hence the keywor
by cogman10 7y ago
I might agree more if async was just doing the Future type wrapping. However, because it is doing much more, it feels fundamentally different (hence the keyword).
I probably haven't interacted enough with larger rust projects, but I just don't see how "OK(123)" could ultimately cause all that much friction when working with the language.
- weiming 7y agoOh, I'm totally fine with Ok(123). The current syntax with Result is explicit and flexible even if slightly verbose. It's especially nice that Result is an enum like any other.