Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get started with Rust #19

Open
nelsonic opened this issue Jan 1, 2023 · 2 comments
Open

Get started with Rust #19

nelsonic opened this issue Jan 1, 2023 · 2 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented Jan 1, 2023

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

@nelsonic
Copy link
Member Author

nelsonic commented Feb 3, 2023

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

@nelsonic
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant