Entradas

Mostrando entradas de noviembre, 2017

Metaprogramming (Comment)

The first thing that comes to my mind when reading/hearing the term metaprogramming the word metadata comes to my mind but they don't have the same meaning. Metadata is the data of the data of something, and Metaprogram is not the data of a program, it refers to a program that creates other programs. Imagine a program that creates an app for iOS devices and Android, wait! There is already some options in the internet to do such thing, for example Ionic, but metaprogramming is not that new. There are many other metaprograms like gcc, python interpreter, parse generators like bison, and more. A great example that I read was the one of Erika. She was more outstanding than his programming professor and made a program that generated another one. Although she didn't create something revolutionary, it was so good to explain metaprogramming. As mentioned in the lecture, a quine is a program that prints its own source code, but why would this be helpful for something? Imagine that