Hacker News new | ask | show | jobs
by zem 4961 days ago
it accomplishes the same purpose, but the filehandle gets closed explicitly, not when it goes out of scope and its destructor gets called.