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

I think most people view headers as a mistake. You can use it to separate the interfaces as you mention, but there are limits to how much you can do that, and parsing the headers over and over slows the build down to no real benefit.

If you look at the modules proposal Microsoft has been pushing for, it provides what looks like a better approach. You won't get the build slowness, you can explicitly control what gets exported.



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

Search: