Re: Object-oriented thinking in SQL context?

From: Marshall <marshall.spight_at_gmail.com>
Date: Sun, 21 Jun 2009 16:25:17 -0700 (PDT)
Message-ID: <46632e06-cd0e-4092-be3a-a97ac97e23c0_at_z16g2000prd.googlegroups.com>


On Jun 21, 8:53 am, Bob Badour <bbad..._at_pei.sympatico.ca> wrote:
> Keith H Duggar wrote:
>
> >>One could use a dictionary to implement name-based plain composition,
> >>though. Is that correct?
>
> > You probably already know this but C++ supports arrays and (with
> > libraries) associative array. I've found them fairly useful when
> > implementing some of the relational ideas I've learned from this
> > newsgroup and the classic books.
>
> > Of course, they are no substitute for native relational language
> > support.
>
> I agree. Doing a name-based lookup for example adds runtime overhead
> that a compiled relational language could address one time at compilation.

Yes, but there are worse issues than the performance overhead of doing such things at runtime. This approach necessitates giving up most static analysis.

Marshall Received on Mon Jun 22 2009 - 01:25:17 CEST

Original text of this message