raker@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years agoOmnilingualismlemmy.worldimagemessage-square38linkfedilinkarrow-up1837arrow-down121
arrow-up1816arrow-down1imageOmnilingualismlemmy.worldraker@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square38linkfedilink
minus-squareValmond@lemmy.worldlinkfedilinkEnglisharrow-up5·2 years agoHow so, templates make for less code usually? Or like template meta prog? I’m a C++ dev and I’m lost on this one :-p plz send help
minus-squarePhrodo_00@kbin.sociallinkfedilinkarrow-up3·2 years agoI think it’s because each template specialization works kind of like a new copy of a class.
minus-squareValmond@lemmy.worldlinkfedilinkarrow-up1·2 years agoStill not getting it, I mean you don’t even get to see the code? IDK
How so, templates make for less code usually? Or like template meta prog?
I’m a C++ dev and I’m lost on this one :-p plz send help
I think it’s because each template specialization works kind of like a new copy of a class.
Still not getting it, I mean you don’t even get to see the code? IDK