3 ms·
In a book that opens with "Unlike The Rust Programming Language we will be assuming considerable prior knowledge", you don't need the simple ownership example.
by evmar 11y ago
In a book that opens with "Unlike The Rust Programming Language we will be assuming considerable prior knowledge", you don't need the simple ownership example.
- Gankro 11y agoEven if assuming considerable knowledge, it's nice to be able to refresh the reader on basics here and there. That text is largely just reserving the right to not explain everything (also I'm moving away from it in general). Also: what example? There's like a hundred examples. Edit: If you mean the examples here: https://doc.rust-lang.org/nightly/adv-book/ownership.html https://doc.rust-lang.org/nightly/adv-book/ownership.html They're a recurring example that we deconstruct in later sections. There's no need to make them needlessly complicated.
- themartorana 11y agoAgreed. I work in Go, JS, Python, bash, Lua, Objective-C, Java, and C# (among others) every week. Sometimes I need a quick refresher on the topic at hand. (How many times I've put a colon at the end of a Lua function line...)