On Thu, 26 Jan 2012 13:09:09 -0600
"Edward K. Ream" <[email protected]> wrote:

> > With unknown types you can do as much as the known common base class 
> > allows.  
> 
> How is this different from knowing that the type of each object is (a
> subclass of) the common (known!) base class?

It's not.

> In every case, what you can, in fact, write, is constrained by the
> common base class.  If you don't know what that class is, it hardly
> seems possible to write useful code.

Right - but the behaviors / significance of using each object might be
very different based on subtype.

A website's Content Management System (CMS) basetype might offer short
name, long name, and permissions related attributes, which might be
enough to write large amounts of code managing large parts of the
website's infrastructure, and yet the subtypes might be as different as
a web bookmark and a Flash game.

Not really sure how the fundamentals of OO arose from fixing Leo's
menus :-)

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to