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

You can do the same with Java. Both are in a sense trying to re-gain the most useful parts of RAII semantics from C++: making it much more difficult to forget to clean up resources after you've finished with them.


Or the unwind-protect faciliy from Common Lisp, that is "cleanup stuff before it goes out of scope"




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

Search: