Comment by masklinn

Comment by masklinn 2 days ago

1 reply

> Suppose it were lexical scope and you needed it function scope. Then what do you do?

Defer a bulk thing at the function scope level, and append files to an array after opening them.

biztos 2 days ago

That seems like more work, and less readability, than sticking in the extra function.

Would be nice to have both options though. Why not a “defer” package?