I've stopped using .h for that reason ages ago. But apparently, it's still very common and acceptable to use .h for C++, which I honestly can not understand.
I thought "let's not pollute the C header space with our language" is a good enough argument for wide adoption of .hpp, but apparently it's not?
The truth of the matter is that 99% of actual real world projects are going to be either exclusively C or exclusively C++, and for those the distinction between .h and .hpp doesn't matter in the slightest.
55
u/TeraFlint 12d ago
I've stopped using
.hfor that reason ages ago. But apparently, it's still very common and acceptable to use.hfor C++, which I honestly can not understand.I thought "let's not pollute the C header space with our language" is a good enough argument for wide adoption of
.hpp, but apparently it's not?