November 2017
Intermediate to advanced
670 pages
17h 35m
English
Metaprogramming (MP) is about writing code that writes code. In MP, we write programs that treat programs, even themselves, as input data. Our MP will read, analyze, transform, and generate code.
Maybe we can use MP to fix what's missing in Go due to its lack of support for generics?
Maybe. First, let's get a better understanding of what MP is about.
Here are some examples:
There are several types of MP.
Programs that support the eval function can generate ...