What I Have Against Precompiled Headers
Precompiled headers is a technique to reduce compilation time when your #includes take a long time. Basically, you stuff all your #includes that rarely change into one single file, which you then...
View ArticleAnother Reason to Avoid #includes in Headers
I have already argued that you shouldn’t put all your includes in your .h files. Here is one more reason, compilation time. Have a look at this example, where the arrows mean “includes” file5.h...
View ArticleHow to avoid includes in headers
I have now written twice about why you should minimize the use of include in header files. As one reader on Reddit politely put it (“crap article”), it is about time I write a post about how to do...
View Article
More Pages to Explore .....