Re: Object-relational impedence
Date: Thu, 6 Mar 2008 00:38:21 -0600
On 2008-03-05 03:13:59 -0600, "Dmitry A. Kazakov"
> On Wed, 5 Mar 2008 01:10:01 -0600, Robert Martin wrote:
>> On 2008-03-03 18:34:39 -0600, Marshall <marshall.spight_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. There are advantages to dynamic typing and there are disadvantages.
-- Robert C. Martin (Uncle Bob) | email: unclebob_at_objectmentor.com Object Mentor Inc. | blog: www.butunclebob.com The Agile Transition Experts | web: www.objectmentor.com 800-338-6716 |Received on Thu Mar 06 2008 - 07:38:21 CET