Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
From: Robert Martin <unclebob_at_objectmentor.com>
Date: Tue, 20 Jun 2006 14:11:37 -0400
Message-ID: <2006062014113723810-unclebob_at_objectmentorcom>
>
> I'm curious: do you have a definition of "behavior"? I hear this word
> a lot and I'm not sure exactly what is intended. Is a method
> behavior? Is a class behavior? What about a function? Is behavior
> a transformation of data? Wouldn't this make it a synonym for
> calculation?
Date: Tue, 20 Jun 2006 14:11:37 -0400
Message-ID: <2006062014113723810-unclebob_at_objectmentorcom>
On 2006-06-13 13:04:01 -0400, "Marshall" <marshall.spight_at_gmail.com> said:
>> >> Databases are data centric. While they have behaviors; those behaviors >> are related to data management. Applications are behavior centric, >> while they manipulate data, the things that do to that data are rich >> with business rules and formatting behaviors.
>
> I'm curious: do you have a definition of "behavior"? I hear this word
> a lot and I'm not sure exactly what is intended. Is a method
> behavior? Is a class behavior? What about a function? Is behavior
> a transformation of data? Wouldn't this make it a synonym for
> calculation?
Not quite. A calculation does not necessarily change the state of the
input variables. Behavior is probably best described as a controlled
change of state. i.e. a turing machine.
>
-- 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 Tue Jun 20 2006 - 20:11:37 CEST