On Mar 12, 9:03 am, "Rick DeNatale" <rick.denat... / gmail.com> wrote:
> On 3/11/07, SonOfLilit <sonofli... / gmail.com> wrote:
>
> > Use the P4 preprocessor on your scripts :P You'll get #define EXACTLY.
>
> > No, but seriously - text substitute macros are awful. There's a good
> > reason that Matz didn't offer them in Ruby.
>
> There's also the interesting problem of what the semantics of changing
>  a text macro in a dynamically compiled language like ruby.  Let's say
> you use a macro expansion in a method, and then later change the
> macro. Do the methods which use that macro then need to be
> re-compiled?  What if you introduce a new macro that has the same name
> as a non-macro name.
>
> --
> Rick DeNatale
>
> My blog on Rubyhttp://talklikeaduck.denhaven2.com/

I agree there are some semantic problems. But there are huge
advantages as well.
I'd prefer for have some warning about redefinitions.