Re: Object-relational impedence
Date: Wed, 5 Mar 2008 13:38:31 -0800 (PST)
Message-ID: <75afafcb-31d3-4915-84c8-e2e69af9a975_at_i7g2000prf.googlegroups.com>
On Mar 5, 12:19 pm, rugby fan <q..._at_q.com> wrote:
> Marshall wrote:
> > On Mar 5, 9:58 am, S Perryman <q..._at_q.com> wrote:
> >>But you cannot claim that all OO prog langs will have an implementation
> >>that forces the fallacious "one at a time" scheme
> > Can you name one that doesn't? (I think I agree that
> > one could exist in theory, however.)
>
> CLOS, OCaml etc (by virtue of being built on Functional prog langs) .
Take CLOS. It is an object system built on LISP. As such, is it fair to consider it in terms of the primitives or "axioms" that LISP is built on? (It may not be; the mechanisms required for its complex function invocation rules may strengthen the system; I'm not familiar enough with this to know.) Those primitives, car, cdr, cons, quote, atom, eq, cond) are none of them set-oriented. An argument could be made that some of them (car, cdr, cons) are list-oriented, but even in that case, it does not rise to the level I am thinking of. For example, if we consider how one processes all the items in a list, one finds a pattern (a very *nice* pattern, you understand; I'm not complaining about it) in which we take the head of the list, operate on it, and recurse with the rest of the list. Many good things can be said of this pattern, but it is not set-oriented.
> >>(Functional programming being a case in point) .
> > Why are you bringing up functional programming when
> > talking about OOPLs?
>
> Because FP has :
>
> - been able to support OO quite easily
>
> - has an interesting execution infrastructure that IMHO makes it a
> good candidate for supporting the Relational paradigm
But I am, rather, speaking of what languages' axiomatic natures are.
I could, in fact, write a Relation class in Java, and provide setoriented
methods for it, and a whole host of relational goodness. But that
wouldn't make Java a relational language per se.
> Given that the topic is "Object-relational impedence" , I am interested
> in anything that may be able to remove the impedence. And you ??
>
> > Are you thinking of map(), by chance?
>
> Are you talking about the map function (map : Type x Func -> Type) ??
> If so, no (in fact, no for any likely meaning of "map" ) .
Okay.
Marshall Received on Wed Mar 05 2008 - 22:38:31 CET