Re:Metaprogramming with Modern C++: The Haskell Metaphor
by sillysaurus3 on Friday November 28, 2014 @06:27PM
(#8672510)
Sorry, I thought my comment came out a bit too judgmental, so I nuked it. (I was saying that templates were mostly useful as simple parameterization, and that the only reason to master this stuff was to read other people's code.)
Re:Metaprogramming with Modern C++: The Haskell Metaphor
by Manu343726 on Saturday November 29, 2014 @05:49AM
(#8673531)
The key here is to be objective, not falling on a flame thread. C++ templates are ugly, I'm agree, but they are useful and heavily used. Lets make them simple to use with some abstractions.
But I think the boundary pushing was extremely valuable for seeing how far you could push a lot of these compile time ideas into a language that's ostensibly a traditional imperative language. The recent glut of new compiled languages probably owes quite a bit to seeing the potential of what can be done here mixed with the frustration of how complicated it makes things in C++.