raker@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoOmnilingualismlemmy.worldimagemessage-square26fedilinkarrow-up1106arrow-down15
arrow-up1101arrow-down1imageOmnilingualismlemmy.worldraker@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square26fedilink
minus-squareJakenVeina@lemm.eelinkfedilinkEnglisharrow-up2·1 year agoI think templates is what he’s making fun of.
minus-squareValmond@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year 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-squareJakenVeina@lemm.eelinkfedilinkEnglisharrow-up1·1 year ago/shrug That’s my best guess, in the sense that that’s what the compiler ends up producing, for templated code: the same code copy-pasted for however many different use cases you have.
The C++ one doesn’t make sense
I think templates is what he’s making fun of.
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
/shrug
That’s my best guess, in the sense that that’s what the compiler ends up producing, for templated code: the same code copy-pasted for however many different use cases you have.