Re:The use of `class` for things that should be simple free ...
by AnimalMuppet on Thursday May 28, 2020 @05:08PM
(#23342656)
As josephcsible said in a post parallel to yours, affine types can do this for you. If not, though... if you never mess up and keep a reference to the old one, you're good. I don't care when it's garbage collected; if there's no reference to it, it's not going to be used. But if anybody, ever, keeps a reference...
[ Parent
| on HN ]
There are no comments on this comment yet.