Comment

Comment by amluto

One thing I find deeply unintuitive about Pin: Pin means “this object will never ever be moved,” not “this object will not be moved while it is pinned.”

I can imagine an easier-to-understand world in which there is a reference type from which one cannot move during the lifetime of the reference, and in which one only ever gets this type of reference to immovable closures and such. I don’t know if the details would work out, but it would at least seem less weird to me.

parent amluto 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton