logoalt Hacker News

zephentoday at 4:31 PM1 replyview on HN

Or even whether you need a destructor, or something simpler, like nulling out a pointer or two to break a reference loop.

defer is a perfectly general structured flow concept; it only cares about when you do something, and is completely orthogonal to what you need to accomplish.


Replies

reactordevtoday at 6:30 PM

I'm not sure the folks responding can tell the difference.