this post was submitted on 26 Jul 2023
837 points (97.6% liked)
Programmer Humor
32464 readers
669 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
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
/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.