2 ms·
I'm working through this as I try to learn Rust. I think that large projects teach a lot that toy examples, while extremely helpful, can never. For example, th
by iudqnolq 7y ago
I'm working through this as I try to learn Rust. I think that large projects teach a lot that toy examples, while extremely helpful, can never.
For example, the lower-level argument parsing code shoen in the CLI example in The Book wouldn't be the right choice for most programs. (Note that for this example the awesome Rust Cookbook provides essentially the same answer as you'd get from reading ripgrep's source: https://rust-lang-nursery.github.io/rust-cookbook/cli/arguments.html https://rust-lang-nursery.github.io/rust-cookbook/cli/argume...)