2 ms·
> What we want everywhere is block-scoped defer, right? Not always. Block-scoped defer makes allocating inside "if blocks" a pain. The flip side is that func
by bsder 2y ago
> What we want everywhere is block-scoped defer, right?
Not always. Block-scoped defer makes allocating inside "if blocks" a pain.
The flip side is that function-scoped is a pain to implement in a non-GC language.