|
|
|
|
|
by wruza
451 days ago
|
|
>Option<T> option >match option >if option.is_some() >Neither of these options is particularly appealing. There’s the answer. The new syntax is just particularly appealing. Does “if let some of x be assigned an option:” make better sense and sound greater than “match option, some of x:” and “if option is some:”? |
|
- [1] https://github.com/dart-lang/language/issues/2181