Including all possible headers in one application header is just as wrong as wrong.
This is laziness that comes at a great price. It makes assemblies fragile. This makes it difficult to understand the true dependencies and, therefore, it is difficult to refactor or otherwise reuse the code.
This makes testing difficult.
But the biggest problem is that it represents intellectual laziness and encourages more of the same.
Like all programming problems, do what you need, no more, no less. Think about saving. Think about construction management.
Just THINK.
emvee
source share