BCS wrote:
I'm not arguing on that point. What I'm arguing is that (at least for me) the primary advantages of metaprogramming are static checks (for non-perf benefits) and performance. Both of these must be done at compile time. Runtime metaprogramming just seems pointless *to me.*
One of important applications of metaprogramming is code generation which would be too tedious or bug-prone to generate and support manually. Dynamic languages can definitely provide for that.