An Introduction to Metaprogramming
In this blog, I will discuss the article titled "An Introduction to Metaprogramming" written by our professor Ariel Ortiz. Meta programs are basically programs that allow you to create other programs, or basically simplify the process of programming by reducing the size of the problem. Like its said in the article: Metaprogramming allows you to automate error-prone or repetitive programming tasks. Some types of metaprogramming are source code generation, quines and modifying programs during runtime. It seems a bit difficult to find practical implementations to implement this methods in production software. But am sure there are many specific situations when metaprogramming can save you a lot of time and resources. In a way, this methods can be viewed as the equivalent of “party tricks” in the programmer world: not all people can write this type of code, but when someone can, it looks pretty cool. Self replicating code is really interesting. Looking online you can find