2 ms·
> Bjarne points out how much he hates templates I don't think he's saying he hates templates in general: > “I’m not a great fan of template meta-programming"
by UncleOxidant 6y ago
> Bjarne points out how much he hates templates
I don't think he's saying he hates templates in general:
> “I’m not a great fan of template meta-programming"
He's not a great fan of template meta-programming which is a specific use (or abuse depending on your point of view) of templates. Though it is a fairly popular use of templates now.
- bhaak 6y agoHe‘s not British but was several years at an English university. If I interpret this sentence with English understatement, then indeed, he hates templates.
- UncleOxidant 6y agoThat just seems like a big stretch. No templates means no STL. The STL is a pretty big jewel in the C++ crown at this point. No templates and no STL means we'd have some kind of container libraries with long inheritance hierarchies kind of like what we had in the 90's prior to the introduction (and implementation in compilers) of templates.
- quietbritishjim 6y agoThe subtlety (also missed by the parent comment) is that he specified template metaprogramming, not templates in general. As I understand it, template metaprogramming refers to deeper uses of templates to do compile-time programming. (I interpreted his British-rooted understatement in the same way as the parent comment.)