Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass data from one object to another
Message
 
 
À
07/12/2001 15:10:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00589517
Message ID:
00591483
Vues:
52
I was feeling pretty stupid, too, but I think it's more a matter of trying to learn too much too fast. I need to slow down and take this a step at a time. First, I need to get this project done. I'll do the best OOP I can. It may not be perfect, but it will be a start. I can improve from there.

Thanks,

Michelle


>Well, I may be particularly dull. I wonder at times. But, I just know that I've expected to have developed skill in this sooner than I actually did. So, patience is a virtue in learning OO.
>
>Like you say, you do one thing at a time and build from there.
>
>I try to do utility routines in an object oriented fashion rather than procedural, for example. It takes a bit longer to write, at least at first. But, an OO approach does give some interesting and unanticipated side benefits. It's a lot easier to test, because the object is instantiated and you can play with it live rather than having to repath and invoke the procedure. The exposed properties means it's easier to modify the behavior than sending along a kazillion parameters to the routine. And, it's easy to do unit testing with the emphasis on small methods.
>
>I find that it's worth it <g>!
>
>Jay
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform