devilish666@lemmy.world to Programmer Humor · 8 months agoTrue Storylemmy.worldimagemessage-square33fedilinkarrow-up1134arrow-down114
arrow-up1120arrow-down1imageTrue Storylemmy.worlddevilish666@lemmy.world to Programmer Humor · 8 months agomessage-square33fedilink
minus-squareScooptalinkfedilinkarrow-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-squareScooptalinkfedilinkarrow-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.