Why Code Generation?

Photo by Iñaki del Olmo on Unsplash Code Generation is a form of Metaprogramming From the early days of the C programming language, to today’s cutting edge languages, some sort of meta programming technique is used. By “meta programming”, I mean any form of programming that adds functionality to the code you write, without actually writing that extra functionality. According to Wikipedia: Metaprogramming […] means a program can be designed to read, generate, analyze or transform other programs, and even modify itself while running....

July 31, 2023 · 8 min · Dror Nir