Hacker News new | ask | show | jobs
by marshray 4665 days ago
> What if you do wind up wanting to refer to s in the body later on?

Then copy s, don't move it.

1 comments

The point is move makes things that look like values as annoying as pointers. You have to keep track.
I'll buy that.