--3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 05, 2004 at 11:57:08AM +0900, Lyndon Samson wrote: > To me, as a ruby slightly-post-newby, method_missing is a unique and > powerfull feature that makes ruby feel like a truely 'real' OO > language. That is message passing rather than method calls with > implicit this objects. > > I love it! If only you could catch java.lang.NoSuchMethodError in the > callee rather than the caller... > Since java is a strongly typed language that won't happen :/ The method must exist on the receiver. You're probably already aware of it, but you can do something similar by using dynamic proxies in java. Check out java.lang.reflect.Proxy and java.lang.reflect.InvocationHandler. [snip] //Anders -- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Anders Engströí aengstrom / gnejs.net . http://www.gnejs.net PGP-Key: ED010E7F . [Your mind is like an umbrella. It doesn't work unless you open it.] --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBizSuuNLLbe0BDn8RAkPzAKCA1F4gy9DSD+DZj20A/JqtecaTAACfQJC5 jRV0Q53/ZjJR0re/finCm1APKT -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi--