Re:How to write better game libraries
by LessDmesg on Monday December 09, 2019 @01:56AM
(#21740884)
You must be trolling... Templates in C++ ARE for metarogramming. The fact that they work as a glorified text substitution (and they are only coming around to fix them in 2020) leaves no apology for the tool.
[ Parent
| on HN ]
> You must be trolling... Templates in C++ ARE for metarogramming.
That's an ignorant statement both wrt generic programming (you know, the whole purpose of C++ templates) as well as the history of C++, in particularly how C++ template metaprogramming was discovered by accident after C++ templates were already implemented, widely used (see the STL), and standardized.