3 ms·
The point of defer is to put the cleanup logic in one place for local variables though, so the risk of someone else deleting it isn't a thing.
by codr7 2y ago
The point of defer is to put the cleanup logic in one place for local variables though, so the risk of someone else deleting it isn't a thing.