dwyl / learn-rust

:bowtie: learn rust-lang to build systems.
GNU General Public License v2.0
11 stars 1 forks source link

Get started with Rust #19

Open nelsonic opened 1 year ago

nelsonic commented 1 year ago

https://www.rust-lang.org/learn

nelsonic commented 1 year ago

Apparently, this is the "official" way of installing Rust, Cargo, etc: https://rustup.rs/

rustup-official
nelsonic commented 1 year ago

This is exactly what I want to see: https://www.rust-lang.org/learn

image

The language creators - and community - have crated a comprehensive book and set of exercises/examples for learning Rust. So I, the "user" of the language don't have to fill-in the gaps.

By contrast, Chris McCord, creator of Phoenix wrote a couple of for-profit books:

image

The Phoenix book was almost immediately obsolete. We bought 5 copies for the people in our company to read and they are door-stops now. Useless. Each subsequent release of Phoenix introduces significant breaking changes. Which means that projects are not maintainable in the long term.

For example: https://github.com/chrismccord/phoenix_chat_example last updated 6 years ago

image

GitHub thinks this Phoenix Chat Example written with Phoenix 1.3 is 92% JavaScript ...

image

That's because it was ... seriously, read the code! https://github.com/chrismccord/phoenix_chat_example/blob/master/web/static/js/app.js There was so little Elixir in the example it's laughable! Over the years the amount of "Boilerplate" code and number of dependencies in a standard Phoenix project has mushroomed!! 🍄

It's easier to scrap an old Phoenix App and start from scratch than it is to update it. This is suuuuuuper lame.

Seriously, watch "Rust: A Language for the Next 40 Years" by Carol Nichols #4 Rust takes breaking changes seriously; it doesn't have them.