Re: [Tutor] object design question

2007-05-16 Thread Kent Tenney
Alan Gauld btinternet.com> writes: > > "Kent Johnson" tds.net> wrote > >> Howdy, > >> > >> I would be interested in some discussion of > >> which of the following approaches is preferred and why. > >> > >> class RstManager: > >> def __init__(self, text): > >> self.parsed = parseRst(

[Tutor] object design question

2007-05-15 Thread Kent Tenney
Howdy, I would be interested in some discussion of which of the following approaches is preferred and why. class RstManager: def __init__(self, text): self.text = text self.parseRst() def parseRst(self): parsed = self.parsed = parsed