3 ms·
> Fancy metaprogramming can also make it more difficult to understand how code works. Metaprogramming looks very exotic and unusual on the surface, but many la
by BerislavLopac 4y ago
> Fancy metaprogramming can also make it more difficult to understand how code works.
Metaprogramming looks very exotic and unusual on the surface, but many languages do very similar things in forms of macros and code generation. However, only the final, actually compiled code is usually counted in analyses like this one. Being fully dynamic, Python allows for such "preprocessing" of the code itself to happen at runtime, which I find much more powerful.