On 9/27/07, Jonas Pfenniger <[EMAIL PROTECTED]> wrote:
>
> 2007/9/27, Gregor Schmidt <[EMAIL PROTECTED]>:
> > Defining NilClass#method_missing for nothing is not too clever, for a
> > large scale libary IMO.
>
> I'm not sure you understood, it is ruby2ruby who defined
> nil.method_missing. We can't start to support each and every hack a
> library will add to the Ruby core.



^for this reason, you can't really use ruby2ruby in anything serious.
nil.method_missing prevents a lot of exceptions from being thrown, and
there's a lot of code out their that legitimately needs those exceptions to
be thrown for correct behavior.
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to