3 ms·
In my experience from Rust & co, yep, this improves correctness a lot. Elegance, not so much.
by Yoric 8y ago
In my experience from Rust & co, yep, this improves correctness a lot. Elegance, not so much.
- whyever 8y agoI think some of the combinators can be elegant. E.g. `Option::map`.
- zoul 8y agoSwift’s syntax sugar for Optionals makes working with nullable types much more elegant, too.
- Yoric 8y agoMy personal experience of Swift vs. Rust is that Swift's syntax sugar is more readable for most examples, but Rust lack of syntax sugar scales better to more exotic examples. YMMV