Hacker News new | past | comments | ask | show | jobs | submit login

> C makes it very easy to get things subtly wrong. Yet another item to add to your code review checklist. Better yet, don't use zero size arrays unless you really have to.

You don't have to. C has flexible arrays in structs for this, and they actually work.




C99, yes. Earlier versions didn't have that.




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

Search: