News for hackers. Stuff that matters.
Re:Ask HN: Rust topics you wish someone had explained when f... by dumindunuwan on Wednesday August 16, 2017 @10:48AM (#15027861)
This is my approach,https://medium.com/learning-rust

The ORDER of we are learning Rust

It's less useful to explain about language capabilities by examples or explain about lifetimes before structs, enums

▸ Installation & Hello World ▸ Cargo & Crates ▸ Variable bindings , Constants & Statics ▸ Comments ▸ Functions ▸ Primitive Data Types ▸ Operators ▸ Control Flows

▸ Vectors ▸ Structs ▸ Enums ▸ Generics ▸ Impls & Traits

▸ Ownership▸ Borrowing▸ Lifetimes & Lifetime Elision

▸ Modules ▸ Crates ▸ Workspaces ▸ Error Handling

▸ Functional programming in Rust

Re:Ask HN: Rust topics you wish someone had explained when f... by Toidiu on Wednesday August 16, 2017 @08:06PM (#15032500)
Ahh thanks for the articles! I was wondering how you chose the order in which to introduce the topics and which you found the most difficult to explain. Also in your opinion do you think it would have been valid to start with ownership since that is the key differentiation in the language?