Type | Purpose | Extension | Example |
---|---|---|---|
Include File | Function declarations | .hpp | Aggregate.hpp |
Implementation File | Function definitions | .cpp | Aggregate.cpp |
Type | Purpose | Extension | Example | Roles |
---|---|---|---|---|
Include File | Function declarations | .hpp | Aggregate.hpp | interface concerns |
Implementation File | Function definitions | .cpp | Aggregate.cpp | implementation concerns |
Hide as many concerns as possible in the implementation file