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

gcc C has destructors (cleanup attr), nested functions/closures

you can do tagged unions with cpp tricks, and so-on

(sadly I have seen most of these used...)

regardless, what makes C hard is undefined behaviour



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

Search: