Ivan Sagalaev personal blog
Why Rust's ownership/borrowing is hard
Working with pure functions is simple: you pass arguments, you get a result — no side effects happen. If, on the other hand, a function does have side effects, like mutating its arguments or global objects, it's harder to reason about. But we've got used to those too: if you see something like player.set_speed(5) you…
- Points
- 122
- HN comments
- 64
- Submissions
- 1
- Cited by
- 0 commenters
Programming LanguagesSoftware Engineering2016
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Feb 13, 2016 | Why Rust's ownership/borrowing is hard by wkornewald | 122 | 64 |