Dynamic class (was Oh, no! Not circles and ellipses...) 
Author Message
 Dynamic class (was Oh, no! Not circles and ellipses...)


> When we think of items, we "classify" them by their similarities in a
> rather automatic (and therefore hard to replicate) fashion, but the
> initial notion of a class is a bunch of things that are similar to each
> other.

> I don't think we claim that because something is in one class, it's not
> in another, and I am tempted to say that this is multiple inheritance,
> but it isn't really.  It FEELS like multiple inheritance, but what is
> really is, is the same object being a member of more than one class,
> e.g.:  A bird is a flying thing AND a bird is a feathered thing.

> But a plucked chicken is a bird.  It isn't a feathered thing any more,
> but it is still a bird.  So, it seems, behind the explicate object is an
> implicate (ideal?) object:  A plucked chicken is a bird with a few
> modifiers applied to it.


I find this ideas verry interesting. I think many programmers has
asked them selves about the same question (maybe not as clear as this).

I wonder if it might be like this...
A human looks at a thing and given the context of the problem try to
figure out what to do to solve a particular problem. For each "class"
we have a set of methods that we are able to perform on the item...
(pick apple from tree, turn car right, ....). But the real item
is put into different "class" according to the context... so
maybe programming models would become better fitted to real world
if objects (or maybe "items" is better?) may change class according to
context (dynamic classes...).

I hope the discution continues, I believe this is a key-point
to make programming easier.


Sat, 24 Mar 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Predicate Classes ( was Re: Circle/Ellipse )

2. programming isn't about math Re: Newbie question re: circle and ellipse

3. Opinions on Ellipse-Circle dilemma?

4. Opinions on Ellipse-Circle dilemma?

5. Finding the ovality of a circle/ellipse

6. Ellipse Circle dilemma?

7. Newbie question re: circle and ellipse

8. I am not deaf, but am I mute?

9. Ellipses -> Ellipsis

10. dynamic class hierarchies, dynamic changes to multimethods ?

11. Dynamic web pages! not Dynamic HTML

12. ?COver larger circle by smaller circle


Powered by phpBB® Forum Software