2 ms·
> I don't think there is much controversy here, and the community recognizes the importance of adopting this language change (I read through the RFC and don't
by comex 10y ago
> I don't think there is much controversy here, and the community recognizes the importance of adopting this language change (I read through the RFC and don't remember anyone against it, just differences on the scope of its meaning).
I'd read through it again. I see various people raising fundamental objections to adding the ? syntax for at least the following reasons:
- Not visually distinctive enough (easy to miss)
- Too visually distinctive (noisy, ugly)
- Unnecessary, try! is fine
- Prevents using the ? symbol for something else
- Should have a normal exception system instead (i.e. early return is implied on every call)
- Should have monadic bind syntax instead, like Haskell's do
Which is fine; when you invite everyone to express their opinion, you get a /lot/ of opinions. There was still a pretty broad consensus in favor.
The RFC: https://github.com/rust-lang/rfcs/pull/243 https://github.com/rust-lang/rfcs/pull/243
(note for anyone using 'search in page': the issue page hides hundreds of comments in the middle unless you click a button, which even then only reveals 200 at a time; search for "not shown")
- bluejekyll 10y agoYou are right, though my reading was it that generally while those points were brought up, they were debated and there was consensus on direction. Perhaps my wording of no one "against" it was wrong, but generally the debate was good and came to a conclusive direction. It's nice to not see something stagnate.