Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing controls from a form
Message
De
11/03/2021 05:30:44
 
 
À
11/03/2021 04:45:55
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678811
Message ID:
01678909
Vues:
45
>>>>
factory = createobject(m.lcSubtype + "_" m.lcFactoryType)
>>>>
>>>So your factory depends on a naming convention?
>>
>>I try to keep most approaches KISS and DRY ;-)
>>
>>For me that often resolves to a Pareto usage of naming conventions and reuse of field names - as long as doing that is possible without writing a rulebook for the exceptions cropping up in the far end of usage, which IMO makes such practice cumbersome sometimes in Java - the benefits of KISS approach are lost on the few special cases.
>
>Exception make rule useless.
>
>Let's say German grammar, where the exception is the rule. Made to bore pupils to death.
>;)

I can confirm that sentence about German grammar. Although it's nearly 50 years since I learned German, I still remember many of the rules. Like "Aus, bei, mit, nach, von und zu". :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform