5 ms·
But that defer is already lexically at the function scope, so block-scoped defer would do the same thing.
by pcwalton 9y ago
But that defer is already lexically at the function scope, so block-scoped defer would do the same thing.
- barsonme 9y agoAh, sorry, you meant function-scoped vs block-scoped not just in general. Yeah, agreed.