Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB vs. VFP
Message
De
06/08/1997 20:08:06
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
 
 
À
05/08/1997 21:38:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00040961
Message ID:
00043438
Vues:
62
>>And what's the difference - object based vs object oriented? Isn't it possible to create classes in VB? Or maybe to develop frameworks?
>
>Classes in VB are very different from classes in an OOP language. You need inheritance, polymorphism, encapsulation and all that other stuff for it to be OOP....VFP has all this....VB doesn't. Here's test for you: Launch VB, create a class and then subclass it. Nope can't do. Test 2: Try to subclass an ActiveX control in VB...nope fails again....Test 3: Create a form in VB. Create another form based on the first. Now change the background color in form 1 and form 2...Requires 2 changes...one on each form. TO do this in VFP, create a form class and create a second form from that class....then change the background color. Imagine if you had a system with dozens or hundreds of forms....
>
>VFP wins this contest hands down.

I see that now, Craig... Dorris already explained it to me before.

And it's quite a big gap for such a popular programing tool as VB... I don't think I would feel confortable if one day I need to use it...

Regards,

Renato
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform