Inner classes

Bjorn Pettersen BPettersen at NAREX.com
Wed Jun 13 14:10:16 EDT 2001


> From: Mats Wichmann [mailto:xyzmats at laplaza.org]
> 
> Java provides inner classes.  They have some interesting properties,
> but mostly smell to me like a hack to get around things being too
> strongly typed in Java.  Probably I'm missing some great point here.
> 
> Nonetheless, I was challenged by someone to describe how it isn't a
> shorcoming in Python that classes don't work this way and didn't
> convince the guy so I'm looking for a more erudite comparison.

But... Python does have inner classes... (although not anonymous ones)

-- bjorn




More information about the Python-list mailing list