[Tutor] Re: Classes!Classes!Classes!
Tue, 21 Dec 1999 17:10:21 -0600
I have just started investigating Python, and want to jump in with class
questions (to verify if I have gotten to the 'aha!' stage mentioned
Can classes be composed of other (sub)classes?
Can classes be composed of multiple copies of the same (sub)class?
[I apologize for bastardizing any terminology here, I am trying to put
it in my own words (because they are what I understand best).]
My self-determined example is house design and definition:
lr furniture (or would I have multiple classes here,
sofas, chairs, tables, etc)
color (or would these be attributes of the floor,
Lights can be part of the ceiling or wall, or free standing. Can the
(sub)class defintion be placed at different levels in the class
Do I have to (should I) segment walls (i.e. composition, part of the
wall painted, part wall papered, or part painted and part wainscoated,
or part ...)?
I suppose if I were designing a mansion, I'd have the opportunity for
multiple kitchens, etc.