HEADER_H vs HEADER_H_

Which do you prefer and why?

Which do you find more readable.
The way I look at it the first underscore is a replacement for the dot in the filename. I see no need to have an extra underscore at the end.

header.h
HEADER_H
Last edited on
Yea I agree. I just noticed that a lot of files use the HEADER_H_ form so I was wondering why they do that
I typically use EMS_HEADER_H. Initials plus header name, for the same reason I don't use using namespace std; Less likely to suffer from a naming conflict.

Topic archived. No new replies allowed.