C#3.0 and lambdas
Fredrik Lundh
fredrik at pythonware.com
Wed Sep 21 08:53:20 EDT 2005
Christophe wrote:
> > def drawline(p1, p2):
> > # draw a line from p1 to p2
> > foo(*p1)
> > bar(*p2)
> >
>
> That one is stupid. I don't see how you can make it work without some
> global storing the p1 information in foo which I would consider as very
> ugly code.
if you cannot see how that can work, you clearly haven't done much graphics
programming in your days...
</F>
More information about the Python-list
mailing list