Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nesting Error
Message
De
22/04/2016 11:24:41
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
22/04/2016 10:28:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01634528
Message ID:
01635248
Vues:
65
>Personal preference,
>
>My take: One class per classlib means it isn't a lib. It's a class. Why even have the classlib at this point? A class should have one purpose and one purpose only. This is called out in the Single Responsibility Principle (read about it at http://www.dotnetcurry.com/software-gardening/1148/solid-single-responsibility-principle) A classlib should hold *related* classes. For example, a classlib with stuff for a form should have nothing but stuff for a form. Nothing for reports.

Only that purpose is a field as wide as one likes it. Is dealing with strings a single purpose or is LTRIM one?

You are very fond of such principles and rules, aren't you? Real world (aka: the hazy border of the screen) is different.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform