"Mark E. Fenner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Save inheritance for the true "is-a" relationships among your problem
> > domain
> > classes.  For instance, define a base Rule class, and then you can
extend
> > it with things like DeterministicRule, ProbabilisticRule, ArbitraryRule,
> > etc. But don't confuse "is-implemented-using-a" with "is-a".
> >
>
> Well, I know the difference and choose to break the rule intentionally
> *chuckle*.  After the initial prototype, speed trumped OO.
>
> > -- Paul
>
> Thanks for your comments, Paul.
>
> Regards,
> Mark

hmm... maybe I should consider making ParseResults inherit from list...

-- Paul


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to