2 ms·
Separation of module interface and module implementation is useful, but headers are a horrible way to do that. For an example of how it can be done right, look
by int_19h 8y ago
Separation of module interface and module implementation is useful, but headers are a horrible way to do that. For an example of how it can be done right, look at Borland Pascal dialects (with "interface" and "implementation" section in each unit, where "interface" can be extracted if desired), or Ada, or ML.