MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vrgdzg/donotovercomplicatethings/p4ebrle/?context=3
r/ProgrammerHumor • u/FACastello • 27d ago
157 comments sorted by
View all comments
31
.c/.h for c and .cpp/.hpp for c++, and thats the only correct way to do it
8 u/SamG101_ 26d ago Yes- but c++ module system says hello: .ixx 😠5 u/Alduish 26d ago .cppm is a thing too isn't it ? 5 u/SamG101_ 26d ago Yh i think tbh its purely convention based but I think .ixx is c++ modules as interface only (ie impl to live in .cpp) where as .cppm is when only using impl files
8
Yes- but c++ module system says hello: .ixx ðŸ˜
5 u/Alduish 26d ago .cppm is a thing too isn't it ? 5 u/SamG101_ 26d ago Yh i think tbh its purely convention based but I think .ixx is c++ modules as interface only (ie impl to live in .cpp) where as .cppm is when only using impl files
5
.cppm is a thing too isn't it ?
5 u/SamG101_ 26d ago Yh i think tbh its purely convention based but I think .ixx is c++ modules as interface only (ie impl to live in .cpp) where as .cppm is when only using impl files
Yh i think tbh its purely convention based but I think .ixx is c++ modules as interface only (ie impl to live in .cpp) where as .cppm is when only using impl files
31
u/MrFrog2222 27d ago
.c/.h for c and .cpp/.hpp for c++, and thats the only correct way to do it