A better `ls` in Rust
bekk.christmasSo if I understand it correctly:
- It's not actually better than ls:
> ignoring the permissions and author of the files (because who cares about those)
- Most of the heavy lifting is done by walkdir.
A better title may have been "The walkdir crate is awesome".
Plus the clap crate. We could make all of this a crate and have the same ls in less than 10 lines
Better (as long as you ignore all the missing features) and only 100 lines (as long as you don't include the 3rd party libraries that do the heavy lifting).
I don't get the negativity, looks like a self ironic Rust tutorial to me, which may be quite useful to Rust beginners.