There is so much to like about Rust. Cargo is amazing, it comes with a built-in documentation generator. The lib.rs and docs.rs websites that contains documentation for every package. Comes with a package manager. Comes with rustfmt, a code formatter, and it has no options so code style is uniform in the community.
I love the Option<T> and Result<T> enums. I like the algebraic data type (albeit, with a tuple you don't know what each value represents since it is not named). I love how insanely easy it is define your own custom data types. The borrow checker is an interesting innovation.
Things I don't like about Rust.
I love the Option<T> and Result<T> enums. I like the algebraic data type (albeit, with a tuple you don't know what each value represents since it is not named). I love how insanely easy it is define your own custom data types. The borrow checker is an interesting innovation.
Things I don't like about Rust.
- The module system is very confusing and awkward. Not intuitive at all.
- No async functions in traits (Yes, I do know about the third-party macro package)
- The compiler is slow.
- There no easy way to check for package updates or update the packages. In the JavaScript world, npm has npm outdated which is nice.
- For lambdas I would much prefer x => y(x) as syntax over |x| y(x) used by Rust and Ruby.
Comment