3 ms·
> When I saw template metaprogramming — that new feature — I realized I have no talent for C++. It's not a new feature. And tbh, compared to Typescript, C++ te
by flohofwoe 5mo ago
> When I saw template metaprogramming — that new feature — I realized I have no talent for C++.
It's not a new feature. And tbh, compared to Typescript, C++ templates are tame ;)
(but yeah, deciding when to stop digging into the template metaprogramming rabbit hole requires some common sense and sanity, too much template complexity is almost never worth the hassle)
- bregma 5mo agoIt was a new feature. Over 30 years ago now. Template metaprogramming was even featured in the ARM.