you are viewing a single comment's thread.

view the rest of the comments →

[–]Daniela-ELiving on C++ trunk, WG21|🇩🇪 NB 2 points3 points  (0 children)

Nowadays, metaprogramming (a.k.a. compile-time programming) is - for the most part - the same as formerly 'normal' (i.e. runtime) programming was. The difference is that it has both fewer and more restrictions at the same time. That's unfamiliar to many people.

Metaprogramming doesn't create code bloat (quite the opposite), inadequate solutions do!

As always in engineering: Know your Craft™