Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't a with(file) statement (instead of a finally block) be much more idiomatic in the example they give? Not to be be pedantic but I think it illustrates a good criticism. How can you ensure quality code snippets that are "idiomatic?"


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: