[Edu-sig] Properties use case
ajsiegel at optonline.net
Sun Mar 19 18:34:20 CET 2006
> >-----Original Message-----
> >From: edu-sig-bounces+ajsiegel=optonline.net at python.org
> >[mailto:edu-sig-bounces+ajsiegel=optonline.net at python.org]
> >On Behalf Of Scott David Daniels
> >What got me thinking about this was "why would you want to
> >share mutable state on complexes (and then on points)" --
> >the answer is when you are applying a uniform transformation
> >to a bunch of points.
A lot of what I am doing is about uniform transformations on bunches of
points - so I will be looking carefully at the idea you are presenting.
To some extent it has been almost scary how straight forward what I am
trying to do can be expressed/implemented in Python. Understanding what
__iter__, combined with duck typing, can get me in terms of what I am trying
to express was the most recent major revelation.
More information about the Edu-sig