Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does inheritance help to make size of exe smaller?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Does inheritance help to make size of exe smaller?
Divers
Thread ID:
01276960
Message ID:
01276960
Vues:
80
I know that, in one way, inheritance is useful is eliminating a duplicate code. But I was wondering how much it is useful in terms of making the application .EXE smaller. Here is an example:
Say I have a form class MyParent in one .vcx library.
Then I create another .vcx library and store there a bunch of form classes like MyChild1, MyChild2, etc. all based on the class MyParent.
If I didn’t have the MyParent class and simply created a bunch of form classes MyChild1, MyChild2, etc, would the size of the .EXE be much bigger?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform