For sure. Using code or data structure to generate code is recent (or resurrection ) phenomenon of function programming.
The function is formatted and it does what it suppose to do. It can be refactored to make it less code.
The function is formatted and it does what it suppose to do. It can be refactored to make it less code.
I'm not entirely sure how you came to that conclusion. Lookup tables and format strings have been around for... well, I'd guess almost a century.