Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft Agrees: VB is not Object Oriented
Message
From
08/04/1998 21:12:57
 
 
To
08/04/1998 18:22:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00090313
Message ID:
00090651
Views:
32
>>>>>C/S = Client/Server
>>>>>OOP has the ability to make changes in one place and have them reflected throughout the application via inheritance.
>>>>---
>>>>Is inheritance the only plus with OOP?
>>>
>>>No. There are a few other things that must be present. Polymorphism, etc. But, lack of in heritance is the biggest thing that is lacking in VB that makes in non-OOP. If you need more info on OOP, you should look at www.microsoft.com/vfoxpro and at MS KB article Q141304.
>>
>>Craig,
>> A few years back I was programming in MS Visual C++. I remember coming across an article on MSDN where MS said to stay away from inheriting more than 2 levels away from the superclass. example,
>>
>> Superclass--->Inherited Class--->Inherited Class
>>
>>They said there was a speed degradation if you tried to inherit anymore after that. I haven't looked into for awhile, have you heard anything similar about this?
>>
>>Mark A. Struck
>
>
>When VFP 3.0 came out I heard that someone wanted to know when a preformance hit got noticeable enough. He got to something like 300 levels. I haven't tried this myself, but it should be easy enough to test.
>
>The other thing to consider is the complexity of the class. I would think that the more complex the class, the longer it takes to instantiate a subclass.

Also the number of controls within a container class dramtically affects instantiate time. I had a client with a form class containing literally 1000+ containers and controls in VFP 3. It was a pig.
------------------------------------------------
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
Previous
Reply
Map
View

Click here to load this message in the networking platform