From: Navindra Umanee Date: 2005-01-30T03:51:22+09:00 Subject: Re: Ten Things Every Java Programmer Should Know About Ruby PA wrote: > > This looks more like Java than Ruby... I don't see your point. > > Sorry. Forgot to reboot in Ruby mode: > > aMethodExceptingToFlyABirdButGivenAPigInstead( aPig ) > > And what would happen to this mythical flying pig now? aPig.fly()? > EXC_BAD_ACCESS (aka method_missing). Right. So aPig.fly() would work if method_missing() was defined or if a method Pig.fly() happened to be defined as an alias for Pig.eat_fly(). In Java, on the other hand, you would clearly get the advantage that you seek here. Cheers, Navin.