4 ms·
> However, if you subvert that simplicity, it doesn't have ... destructors But it does have that, `runtime.SetFinalizer`. Sure it's clunky, and that's probab
by LukeShu 6y ago
> However, if you subvert that simplicity, it doesn't have ... destructors
But it does have that, `runtime.SetFinalizer`. Sure it's clunky, and that's probably intentional: It's just there to be there as the escape hatch for you when you do need to subvert the normal way of doing things.