Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access and Assign vs. OOSE
Message
From
23/10/1998 13:06:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Access and Assign vs. OOSE
Miscellaneous
Thread ID:
00149911
Message ID:
00149911
Views:
71
I was recently rereading Ivar Jacobson's book "Object-Oriented Software Engineering" which is considered a seminal work on OOAD, OOSE and OOP. I came across a statement in which he writes "objects should not directly manipulate the properties of other objects". Later, in context, he is shown to mean that this applies to both reading and writing properties.

Microsoft's COM theory more-or-less says the same thing: objects expose interfaces but not properties.

So....are we reversing central tenets of COM and OOP by using Access and Assign to intercept property calls/puts when there shouldn't be any direct manipulation at all?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Next
Reply
Map
View

Click here to load this message in the networking platform