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

I have often wanted c99 with destructors for RAII purposes.


you do not need destructors if you put your stuff on the stack


just putting stuff on the stack in C won't magically call `fclose` or `pthread_mutex_unlock`, unlike destructors




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

Search: