Hacker News new | ask | show | jobs
by mevile 3414 days ago
People should know this isn't ready, and they should continue to use the current book. Chapers like this are just notes:

https://rust-lang.github.io/book/ch17-00-oop.html

This doesn't help anybody. Continue to use the rust book at:

https://doc.rust-lang.org/doc/stable/book/

2 comments

We actually had someone say that the new version is so much better than the old book, even though it's incomplete, that it's like a medical trial where the treatment is going so well it'd be unethical to keep people on the placebo. A bit hyperbolic, yes, but so is "this doesn't help anybody".
Although I have some years of practice in programming, I always prefer to learn new languages using some kind of practical tutorial that introduces the topics as we go along. I've just finished the guessing_game tutorial and really understood the general idea of cargo, externs, associated functions, etc.

Congratulations, and I hope that the rest of the book is as practical on introducing the following concepts as the tutorial was for me..

I like Rust, but I was a lot more impressed with how Go introduces it. https://tour.golang.org/welcome/1
They're example driven, but most aren't as large as the Guessing Game is for the most part; the I/O project chapter is, and we'll probably have one more near the end of the book as well.
I agree. With that given, this week, I published a rust tutorial based on my first completed project:. http://daringordon.com/rust_tutorials
This has been my experience. Just the layout alone is so much better for a programmer just diving into Rust.
I found the new version significantly better than the old. I immediately 'got it' after reading some of the new chapters compared to the more complete old version which I sometimes struggled with for a while.

I would definitely recommend this to rust beginners, and tell them to just use the old book where the new isn't complete.

14 out of 20 chapters have at least a draft, so this is still useful, even if it's not complete. I generally tell people to start here and then go read the old book afterwards to get the stuff that's not there yet, if they have the energy.