concept metaprogramming in category griffon

appears as: metaprogramming
Griffon in Action

This is an excerpt from Manning's book Griffon in Action.

Other useful and powerful features found in Groovy are its metaprogramming capabilities. You can modify an object’s behavior at any point, whether at compile time or at runtime. Yes, that’s right: you can monkey-patch an object’s behavior to bend it to your will. Of course, you must be careful: a great responsibility is bestowed on you when you harness the powers of metaprogramming. This reflects another remark made by Scott Davis when he paraphrased Erwin Schrödinger and his famous paradox (http://mng.bz/kM4S):