[plt-scheme] An Editors Tale

From: Joe Marshall (jrm at ccs.neu.edu)
Date: Thu Jan 29 17:03:33 EST 2004

Ken Anderson <kanderson at bbn.com> writes:

> Thanks for this detailed reply.  While i've always favored simple
> flexible languages, you've made their limits clear.
>
>  From my experience with Common Lisp, MOP level programming is
>  typically done only occasionally to provide a specific capability,
>  such as persistence.
>
> To make this quantitative, i looked at Jython 2.1a3, which i have on my machine.
> I found 234 f*.py iles, with 3389 defs.  Here is a histogram of the top 10 def __... methods:
>
>     264  __init__
>      54  __repr__
>      12  __getitem__
>      10  __getattr__
>      10  __del__
>       9  __setitem__
>       9  __len__
>       7  __delitem__
>       5  __str__
>       5  __cmp__

What about references to things like  __dict__, __slots__, or
__name__?





Posted on the users mailing list.