Suggestions for good programming practices?

Brian Quinlan brian at sweetapp.com
Mon Jun 24 22:03:43 EDT 2002


Peter Hansen wrote: 
> Brian Quinlan wrote:
> >
> > Peter Hansen wrote:
> > > You _are_ returning them "in a struct".  It's spelled "tuple"
> > > but other than that what's the difference?
> >
> > struct members are access by name while tuple elements are accessed
> > positionally.
> 
> Okay.  So why is that a problem?

I'm not saying it is. I'm saying that tuples and structs are different.

Cheers,
Brian






More information about the Python-list mailing list