properties and get/set methods
Steve Holden
sholden at holdenweb.com
Sun Apr 6 11:11:14 EDT 2003
"John Roth" <johnroth at ameritech.net> wrote ...
> "Mike C. Fletcher" <mcfletch at rogers.com> wrote ...
> > Dan Bishop wrote:
> > >Timothy Grant <tjg at craigelachie.org> wrote ...
> > >
[...]
> >
> > In these cases, you're using properties to simplify the modelling of
> > domain objects, or to provide some *generic* functionality over and
> > above a regular value get/set. You don't want to have to specify that
> > functionality for every property, you just want to say "this is one of
> > _those_ properties". The code bloat (not to mention mindless
> > duplication of code) when you get up to 15 or 20 properties for an
> > object would be ridiculous.
>
> Well, I suppose since this is Sunday, it's appropriate to bring
> religion into it.
>
That's a rather exclusive point of view, given that Saturday is the Jewish
sabbath and (I believe) Muslims worship most devoutly on Friday.
regards
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/pwp/
Did you miss PyCon DC 2003? Would you come to PyCOn DC 2004?
More information about the Python-list
mailing list