Re: Mixing OO and DB

From: David Cressey <cressey73_at_verizon.net>
Date: Tue, 12 Feb 2008 17:06:51 GMT
Message-ID: <Lmksj.3346$J93.51_at_trndny08>


"Stefan Ram" <ram_at_zedat.fu-berlin.de> wrote in message news:data-20080212172448_at_ram.dialup.fu-berlin.de...
> Patrick May <pjm_at_spe.com> writes:
> >Thread someThread = new SomeThreadImplementation();
> >someThread.run();
> >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.
>
> I believe that in the general case object-oriented programs
> will also have to use argument values within messages.
>
> If the argument values are objects, some might not deem them
> to be "data", but at least numerical literals and string
> literals will be considered to be data (even if they refer to
> objects) and hardly can be avoided.
>
> Which brings up the idea, that it would help to define the
> meaning of »data« first.
>
> I'd say, when one selects (i.e., »specifies«) a value from a
> range of several values that are possible within a certain
> context, he specifies a datum. »data« then is the plural of
> »datum«.
>
> For example, »2« selects the value »2« from the range of
> permissible int values, e.g., -32768..+32767.
>
> >>Going further, objects do not "see" the behavior of other
> >>objects. What they see is the data, written into messages,
> >>that is the result of behavior.
>
> One can sometimes hide data at some of the places.

Agreed.

What I was disputing is whether all data can be hidden. If all data is hidden, there is nothing left with which to express behavior. Received on Tue Feb 12 2008 - 18:06:51 CET

Original text of this message