4 ms·
So I'm only a Rust amateur (I mean I don't get paid to use it), but I'm on my third round trying to build something with it, and I feel like I'm finally startin
by pjungwir 10y ago
So I'm only a Rust amateur (I mean I don't get paid to use it), but I'm on my third round trying to build something with it, and I feel like I'm finally starting to get it. A couple warts I've encountered:
- No support for default struct fields: https://github.com/rust-lang/rfcs/issues/1594 https://github.com/rust-lang/rfcs/issues/1594
- Terrible signatures for functions that return iterators: https://www.reddit.com/r/rust/comments/2h26cj/functions_returning_iterators/ https://www.reddit.com/r/rust/comments/2h26cj/functions_retu...
If the next push is going to be for ease-of-use, those would be two nice things to fix.
- comex 10y agoA feature designed as a fix for the second problem is already in nightly: https://github.com/rust-lang/rust/issues/34511 https://github.com/rust-lang/rust/issues/34511 Who knows when it'll be stabilized, though.
- steveklabnik 10y ago"sooner rather than later"
- rat87 10y agoI think if you don't mind the overhead you can box the iterator