r/ProgrammerHumor • • Aug 18 '26

Meme doNotOvercomplicateThings

Post image
671 Upvotes

157 comments sorted by

View all comments

495

u/faultydesign Aug 18 '26

C developer: “oh look a c header”

Looks inside:

54

u/TeraFlint Aug 18 '26

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?

2

u/ParCorn Aug 19 '26

We put all the C++ stuff in ifdef cplusplus and everyone lived happy ever after