devilish666@lemmy.world to Programmer Humor@programming.dev · 9 months agoTrue Storylemmy.worldimagemessage-square33fedilinkarrow-up1134arrow-down114
arrow-up1120arrow-down1imageTrue Storylemmy.worlddevilish666@lemmy.world to Programmer Humor@programming.dev · 9 months agomessage-square33fedilink
minus-squareScoopta@programming.devlinkfedilinkarrow-up1·9 months agoYep which IMO is ugly but I’d way prefer that over everyone using .h
minus-squareMinekPo1 [it/she]@lemmygrad.mllinkfedilinkarrow-up1·9 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·9 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.