Re: Object-relational impedence

From: Marshall <marshall.spight_at_gmail.com>
Date: Thu, 6 Mar 2008 00:14:14 -0800 (PST)
Message-ID: <aeb6607b-d202-4d1c-8382-0e49b5c7640f_at_n77g2000hse.googlegroups.com>


On Mar 5, 10:38 pm, Robert Martin <uncle..._at_objectmentor.com> wrote:
> On 2008-03-05 03:13:59 -0600, "Dmitry A. Kazakov"
> <mail..._at_dmitry-kazakov.de> said:
>
> > On Wed, 5 Mar 2008 01:10:01 -0600, Robert Martin wrote:
>
> >> On 2008-03-03 18:34:39 -0600, Marshall <marshall.spi..._at_gmail.com> said:
>
> >>> In SQL, if I have two relations with x and y int columns, I can
> >>> union them, or join on them, or whatever. There is no way,
> >>> in fact, to forbid such a thing, just like in Java there is no way
> >>> to allow such a thing.
>
> >> You are confusing OO with static typing. In OO languages like Ruby,
> >> Python, or Smalltalk you can pass any object to any function
> >> irrespective of type.
>
> > Which is a bad idea.
>
> Bah. It is neither a bad nor a good idea. It is just an idea.

Yes. Specifically, it is a tradeoff. I still get to prefer one side over the other though. :-) But that doesn't mean it's not a tradeoff.

Marshall Received on Thu Mar 06 2008 - 09:14:14 CET

Original text of this message