On Dec 10, 2005, at 11:16 PM, jonathan leonard wrote:

> jonathan leonard <zjll9 / imail.etsu.edu> <zjll9@ima wrote:
>> (I think it is also known as
>> metaprogramming).
>
> Actually, according to wikipedia, metaprogramming involves only  
> rewrites
> done at compile time and not run-time (such as lex or yacc, which
> generate code).  So, I guess this would simply be 'self-modifying'  
> code.

That's not how we generally use it in the Ruby community, but keep in  
mind that Ruby greatly blurs the compile-time, run-time distinction.

My buddy calls Unit Tests, Ruby's compile-time error checking.  Hard  
to argue with that.  ;)

James Edward Gray II