Re: Object-relational impedence
Date: Wed, 12 Mar 2008 08:23:05 -0700 (PDT)
Message-ID: <f4d5a245-77d6-4a4e-a955-f22a0f6e4f13_at_e10g2000prf.googlegroups.com>
S Perryman wrote:
> JOG wrote:
>
> >>On 2008-03-08 21:39:37 -0600, JOG <j..._at_cs.nott.ac.uk> said:
>
> > A red herring as far as I'm concerned this Robert - after all RM is
> > not an "inference engine" either. What I am questioning whether we
> > need the concept of inheritance /whatsoever/. It does not exist in
> > logic, it has no underlying theoretical justification, and is purely
> > an ad hoc mechanism thrown together at xerox parc.
>
> 1. Devised at the NCC in Norway, not Xerox PARC.
>
> 2. Devised because of the influence of academic work on data types (Hoares'
> "record" types) , and noticing things having related properties/behaviours
> in simulation systems.
>
> So not really ad-hoc (thought went into providing the scheme) .
>
>
> > Is it not true that
> > inheritance has lost favour over the years - composition is generally
> > preferred, unless one is defining interfaces (and whether that should
> > still be called "inheritance" is open to debate).
>
> As a property acquisition/composition scheme, certainly.
> As a type substitutability mechanism, (sadly) no (Java, C# etc) .
>
>
> Regards,
> Steven Perryman
-T- Received on Wed Mar 12 2008 - 16:23:05 CET