From: daz Date: 2008-12-05T07:45:15+09:00 Subject: [ruby-core:20329] Re: Behavior: autoload calls rb_require() directly Charles Oliver Nutter wrote: > > I agree. There's no practical reason anyone should be able to override Fixnum#+, after all, and protecting the core simplifies implementation and optimization too. > > - Charlie > > Sorry, that's wrong. Like Pit just suggested elsewhere in this thread, we can't override to log (a, :plus, b) then a._oldplus_(b). The design is short-circuited ... *not* optimized. A language designer shouldn't test her abilities to second guess what the user is likely to want or need to do. It's a lost cause. :) daz