Re: OO versus RDB
Date: 29 Jun 2006 09:10:57 -0700
> That is, persistence is something outside the
> realm where objects behave. No behaviour, no objects.
In some views of OOP, the distinction is blurred. is a "getEmployee()" method behavior or data? It might be merely a behavioral wrapper around data, but if the internals are not visible (which encapsulation is sometimes said to do), one does not know. For example, "voteCount()" may actually loop thru all votes to compute the total. Or it may simply grab a value from an existing object or structure. One cannot tell without looking at the internals.
-T- Received on Thu Jun 29 2006 - 18:10:57 CEST