[Tutor] An example of something extremely difficult to express in Java

Karthik Gurumurthy karthikg@aztec.soft.net
Wed, 10 Apr 2002 11:14:55 +0530


Hi all,

can someone give me neat examples of something which
is *extremely* difficult to express in java but can be easily
represented in python?

i liked the

__getattr__ thing.

where you can wrap a object with a wrapper and then change the
wrapped object midway and still manage to delegate calls to the wrapped
object w/o any code change.

regards,
karthik.