You're viewing a single thread.
All comments
42
comments
The C++ one doesn't make sense
26 0 ReplyI think templates is what he's making fun of.
22 0 ReplyHow 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
6 0 ReplyI think it's because each template specialization works kind of like a new copy of a class.
3 0 ReplyStill not getting it, I mean you don't even get to see the code? IDK
1 0 Reply
/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.
1 0 Reply
42
comments
Scroll to top