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

To avoid some of these issues, it can be helpful in a project to require that all files including header files must be compilable on their own. Doesn't get rid of all the problems (you can still depend on transitive includes without explicitly including them) but enforces a minimal amount of code hygiene.



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

Search: