Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>Hey Mike,
>
>Thanks a lot! I feel like I'm being naive or something.
>Anyways I think that if I can afford it, I'd prefer
>finding out the hard way. :)
>
>Btw, do you mean that what I am thinking is not practical
>when it comes with VFP? You mentioned there had been a lot
>of code generators in VFP. I really do not understand
>why you would call the idea terrible. I mean, not having
>to do all those classes by hand - making about seventy percent
>of the work done by the program instead?
Code generators have a serious drawback. If you change the code, the generator becomes useless for maintaining that code. Then you have to manually fix many many pieces of code.
It is far better to create well-designed objects that you can assemble into a final product than to generate code. Then you use a builder to create the VCX. Look at everything else that is built except programs. It is composed of distinct parts. A factory can speed up the assembly.
>
>I don't know, maybe it's really just me, but I hate the
>idea of doing the same stuff over and over - especially
>if I know that it can be done by the computer. :)
>
>Again, thanks a lot for the feedback. I really need it. :)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement