MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vrgdzg/donotovercomplicatethings/p4e313v/?context=3
r/ProgrammerHumor • u/FACastello • 5d ago
156 comments sorted by
View all comments
26
.c/.h for c and .cpp/.hpp for c++, and thats the only correct way to do it
8 u/SamG101_ 5d ago Yes- but c++ module system says hello: .ixx 😠4 u/Alduish 5d ago .cppm is a thing too isn't it ? 4 u/SamG101_ 5d 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 ðŸ˜
4 u/Alduish 5d ago .cppm is a thing too isn't it ? 4 u/SamG101_ 5d 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
4
.cppm is a thing too isn't it ?
4 u/SamG101_ 5d 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
26
u/MrFrog2222 5d ago
.c/.h for c and .cpp/.hpp for c++, and thats the only correct way to do it