Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s not only about the type system, but the book is pretty gentle. It only lightly covers the more advanced stuff, and leaves a few things out, which are in the Nomicon.

What languages do you code in normally? I could also give you a short summary.



My languages are generally Python, Golang, Java. Cheers.


Cool :) so, the Java will give you a nice introduction to generics. Rust’s are a bit stronger, and generally don’t do type erasure. I think given your background, you should read the generics chapter of the book, and then maybe poke at error handling, with Option and Result. These will show you how rust differs from Go; they have almost identical error handling stories, but the generics plus enums mean they feel very different. From there, traits are kinda like Java interfaces, but on steroids, and Trait objects do type erasure like Java does. That’d give you a decent starting place, and you can branch out from there.


Thanks for the detailed response and suggested approach, I appreciate it. Working my way through the Nomicon looks like a nice goal. Cheers.


You’re welcome, and good luck! If you run into problems, please don’t hesitate to jump on IRC or the users forum, we love answering questions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: