I didn't say that. Just that e.g. templates in C++ aren't comparable against a normal C function, they're comparable to either half a dozen subtly different C functions for different types or a horrifying macro monstrosity. Both of which are worse than a single C++ template.
But they do not use that for exactly that reason. Why are you trying to put C++ features into other languages. This is exactly the reason to choose something different, because you do things differently.
63
u/TheThiefMaster C++latest fanatic (and game dev) Jul 13 '22
The equivalent C code to accomplish the same goal is often far worse.
These arguments always compare the most complex parts of C++ against normal C code, not equivalent C code.