Hacker News new | ask | show | jobs
by dumindunuwan 3230 days ago
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

1 comments

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?