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

SubmittedTitle on HNPointsComments
Feb 13, 2016Why Rust's ownership/borrowing is hard by wkornewald12264

More from Ivan Sagalaev

All 2 posts →

Related posts from the same era