Skip to content

Instantly share code, notes, and snippets.

@jackdempsey
Last active August 29, 2015 14:16
Show Gist options
  • Save jackdempsey/abc50985b12f08684a5c to your computer and use it in GitHub Desktop.
Save jackdempsey/abc50985b12f08684a5c to your computer and use it in GitHub Desktop.
Thoughts on http://words.steveklabnik.com/a-new-introduction-to-rust
1. Better than previous readings (though those were good too! Maybe just too quick?)
2. For visual learners, picturing/seeing chunk of lines is very useful.
2a. This becomes less clear across function calls. Any help in those cases? Similarly, investigation of hard to follow ownership examples will likely be valuable.
3. A 3-4 point quick summary to figure out ownership in any context would be helpful. Not sure how possible this is, but if the essentials can be boiled down to something easily remembered and applied, the overall understanding can grow from repeated application of the correct rules.
4. Know of any editor support for showing ownership? At least in very simple cases it seems straightforward.
5. lifetime, ownership, borrow, etc. They seem to be good choices, but generic enough that they don't help until you already understand things. It might be easier to really nail home the concept and then finally say "and that? That's borrowing". When you have more substance and neural connections to tack something new onto, you retain it better.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment