devilish666@lemmy.world to Programmer Humor@programming.dev · 8 months agoTrue Storylemmy.worldimagemessage-square33fedilinkarrow-up1130arrow-down113
arrow-up1117arrow-down1imageTrue Storylemmy.worlddevilish666@lemmy.world to Programmer Humor@programming.dev · 8 months agomessage-square33fedilink
minus-squareScoopta@programming.devlinkfedilinkarrow-up1·8 months agoYep which IMO is ugly but I’d way prefer that over everyone using .h
minus-squareMinekPo1 [She/Her]@lemmygrad.mllinkfedilinkarrow-up1·8 months agohonestly I use .hh/.cc which is quite nice IMO . you can also use .hpp/.cpp but I don’t like it personally
minus-squareScoopta@programming.devlinkfedilinkarrow-up1·8 months agoYeah. My original comment should have been “I wish people would use a C++ specific extension for headers.” I just picked hpp because cpp seems to be the most widely used C++ extension.
Yep which IMO is ugly but I’d way prefer that over everyone using .h
honestly I use .hh/.cc which is quite nice IMO . you can also use .hpp/.cpp but I don’t like it personally
Yeah. My original comment should have been “I wish people would use a C++ specific extension for headers.” I just picked hpp because cpp seems to be the most widely used C++ extension.