Re: Object-relational impedence

From: Robert Martin <>
Date: Wed, 5 Mar 2008 01:10:01 -0600
Message-ID: <2008030501100188124-unclebob_at_objectmentorcom>

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.

Robert C. Martin (Uncle Bob)  | email:
Object Mentor Inc.            | blog:
The Agile Transition Experts  | web:
800-338-6716                  |
Received on Wed Mar 05 2008 - 08:10:01 CET

Original text of this message