• 0 Posts
  • 151 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle














  • Yeah, I use that all the time. I think I use it in a different way though. I have projects with C, C++ and other languages. The C and C++ get compiled and linked together, and so there are some considerations for those files that don’t apply to anything else. So I mean C files and C++ files, but not as if they were the same language.



  • Kethal@lemmy.worldtoProgrammer Humor@programming.devTrue Story
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    3 months ago

    I did this in a project and someone later came and changed them all to .h, because that was “the convention” and because “any C is valid C++”. Obviously neither of those things is true and I am constantly befuddled by people’s use of the word convention to mean “something some people do”. It didn’t seem worth the argument though.