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

Lisp for example has unwind-protect, which is guaranteed to run the unwind code when you leave its scope in which way whatever (be it an exception or a return). So this is a reliable way of running clean-up code at the end of a code block.


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

Search: