Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden /Proctected properties
Message
From
05/12/1998 01:28:21
 
 
To
04/12/1998 14:33:00
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00164076
Message ID:
00164398
Views:
22
>The point is to create a 'clean' interface for your object. If some properties and methods are designed to be used only internally by the class itself, they should not be exposed in the instance or subclass' interface. This was the purpose in the design of Protected and hidden properties, but it seems that something was lost along the way, and the functionality is dysfunctionality.

btw, in VFP6 you can create even cleaner interfaces using assign and access methods - you can even implement some sort of 'friend' classes etc.

Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform