Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Abstract classes useful?
Message
From
04/06/2008 11:17:25
 
 
To
03/06/2008 18:16:16
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01320973
Message ID:
01321627
Views:
15
>>Hmm, I get the feeling that our hunches of abstract versus concrete are not entirely equal. You may well be right, but I also would like to hear what others have to say about it.
>
>Maybe I'm just to fond of my init code...

I think you have learned and thought about the subject a lot more than I have done in the past. Without your input I'd not have had the hunches I now have. But it's my hope that others too show their insights or perception. The outcome may well be used to upgrade NewClass.app.

My current pov is that the choice between creating an 'abstract class' and a 'concrete class' must be redefined to: 'incomplete class' versus 'complete class'. 'Incomplete' implying that the developer is free to directly use it on a form, but still will have to add code to certain methods and set certain properties to valid values. Those methods and properties ideally need to be documented.

In a reply to Thomas you used the word dynamically. Indeed, this concept of an incomplete class can be seen as a case of an abstract class that is dynamically upgraded to a complete class that can then indeed be instantiated to a concrete object.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform