Hacker News new | ask | show | jobs
by dikaiosune 3777 days ago
There were also some interesting comments yesterday when this was posted to the Rust subreddit:

https://www.reddit.com/r/rust/comments/45gcmh/why_rusts_owne...

1 comments

There was one good point, which was also my conclusion:

"Given all that, I wonder if it makes sense to prefer plain old functions most of the time. Is that right, or am I overlooking something?"

The response was yes. Avoid impl methods which take a mutable self.

I wouldn't characterize it this way. There was a whole thread on just this question: https://www.reddit.com/r/rust/comments/45j6ua/why_dont_we_pr...