Camping and ruby2ruby
John Beppu
john.beppu at gmail.com
Thu Sep 27 13:35:43 EDT 2007
On 9/27/07, Jonas Pfenniger <zimbatm at oree.ch> wrote:
>
> 2007/9/27, Gregor Schmidt <ruby at schmidtwisser.de>:
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/camping-list/attachments/20070927/84e75ce5/attachment-0001.html
More information about the Camping-list
mailing list