People who code: we want your input. Take the Survey

Questions tagged [metaprogramming]

Use this tag for all questions about teaching the concept of metaprogramming. Metaprogramming is the idea that a program creates or modifies a program, sometimes the executing program itself. Note that program reflection is a weaker concept in which a running program learns things about itself.

Filter by
Sorted by
Tagged with

What are good projects for metaprogramming?

When I teach metaprogramming like dynamically defining methods and method delegation, students usually understand what it is fairly quickly because it's simply a dynamic way of doing something they've ...