Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a Maximum number of parameters for a form class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00361410
Message ID:
00361441
Vues:
16
>I just took a utility form that I was working on and saved it as a class. It has 20 parameters defined in the init event. Now when I try to instantiate the object ala:
>

I don't know of a technical limit (looks likeyou might have found it :-)), but there is a definitely a practical limit. I question the interface design of any object that requires or allows anywhere close to 20 parameters. Code Complete states (and I agree) that if you find yourself designing a routine that requires more than about 7 parameters, you need to refactor.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform