[Tutor] self.name vs. passing a name

Che M pine508 at hotmail.com
Wed Jul 29 02:21:17 CEST 2009

> > The "answer" to each function is then used in the next function.
> > I can think of two ways to make that answer available ...
> >   1) pass it in, or
> >   2) declare it as self.answer

Thank you Alan, Kent, and Dave.  Full agreement, and it makes sense
to me.  (Maybe this is also an example of "explicit is better than implicit"?)


Windows Live™ Hotmail®: Celebrate the moment with your favorite sports pics. Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090728/97ad7796/attachment.htm>

More information about the Tutor mailing list