Re: Object-relational impedence

From: S Perryman <>
Date: Wed, 05 Mar 2008 09:24:37 +0000
Message-ID: <fqlosp$anf$>

Robert Martin wrote:

> On 2008-03-03 18:34:39 -0600, Marshall <> 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.

And you (both) are equating the (strong) typing model of Simula as the only strong typing model. Go and look at Functional prog langs etc for examples of how Marshalls' gripe would be done in a type-safe manner.

Steven Perryman Received on Wed Mar 05 2008 - 10:24:37 CET

Original text of this message