You're viewing a single thread.
All Comments
45 comments
The C++ one doesn't make sense
27 0 ReplyI think templates is what he's making fun of.
23 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
5 0 ReplyI think it's because each template specialization works kind of like a new copy of a class.
4 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.
2 0 Reply
45 comments
Scroll to top