Re: Mixing OO and DB

From: Patrick May <pjm_at_spe.com>
Date: Tue, 12 Feb 2008 11:53:25 -0500
Message-ID: <m2prv2m7zu.fsf_at_spe.com>


Bob Badour <bbadour_at_pei.sympatico.ca> writes:
> Stefan Ram wrote:
>> Patrick May <pjm_at_spe.com> writes:
>>
>>>Thread someThread = new SomeThreadImplementation();
>>>someThread.run();
>
> Which is semantically equal to run(someThread)

     Only if the context of the run() function is the same as that of the SomeThreadImplementation instance at the time the run() method is invoked.

     You can't define away the differences between OO and other techniques that easily.

>>>Unless you're considering the name of the class and/or the name of
>>>the method to be data, the message is solely about behavior.
>
> The value of the variable, someThread, is data.

     It does not, however, enable the type of analysis the orignal poster was suggesting might be possible. Because of the OO focus on behavior, data-only analysis is not able to provide a full view of an OO system.

Sincerely,

Patrick



S P Engineering, Inc. | Large scale, mission-critical, distributed OO
                       | systems design and implementation.
          pjm_at_spe.com  | (C++, Java, Common Lisp, Jini, middleware, SOA)
Received on Tue Feb 12 2008 - 17:53:25 CET

Original text of this message