Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defining Methods in Classes for Objects Added at Runtime
Message
De
20/02/2006 19:46:36
 
 
À
20/02/2006 11:35:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01096949
Message ID:
01097633
Vues:
19
Fabio,

>
Erik, cannot compare a formal language as Eiffel with VFP,
born mixing FoxPro with some idea taken by Smalltalk
and modified in base to the statistic of the developers wish.
Certainly, when a thing can be made in VFP, the lines to be written are always few, while when it cannot be done then they become too.
>

I offer Eiffel only as a frame of reference, not as a basis for comparison, as I re-educate myself in VFP.

>
two questions

With Eiffel
- you can build Classes and Subclasses to runtime ?
- you can reply EXECSCRIPT() and COMPILE ?
>

With PARSE and LEX, and conditional assignment, yes. But why would you wish to do this? If you would like your program to be able to "learn" as it goes, this can be accomplished within the boundaries of a precomputed learning path that can likewise be precompiled. JIT compilation is still precomputed. I couldn't imagine trying to support a program developed with this sort of dynamic built in.

I should qualify my statement above: In the business world, I wouldn't implement this level of dynamic design. But in the world of engineering or physics, or some other science, most definitely.

Eric
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform