Re:PHP finally gets finally
by meritt on Monday August 13, 2012 @12:13PM
(#4376569)
You should talk to Bjarne about leaving it out of C++ :)
[ Parent
| on HN ]
C++ has a finally equivalent in a different form: Every object gets to clean up at the end of the scope as part of it's destructor. If you're not using RAII to manage cleaning up resources at the end of a scope, it's probably a good idea to change your style a bit.