2 ms·
As long as you can always call .close() regardless of the code below, yep - that'd work, and is definitely more readable. If you can't call it unless [some oth
by Groxx 9y ago
As long as you can always call .close() regardless of the code below, yep - that'd work, and is definitely more readable.
If you can't call it unless [some other conditions], it goes back to the same kind of problem though. "closable" may not be a good choice on my part, as they're often called unconditionally.