▲ | anonymoushn 4 days ago | |||||||
defer { close all the files in the collection } ? | ||||||||
▲ | gwd 4 days ago | parent [-] | |||||||
OK, what happens now if you have an error opening one of those files, return an error from inside the for loop, and forget to close the files you'd already opened? | ||||||||
|