Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why design patterns are easier in dynamic languages
Message
De
10/02/2008 15:02:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
10/02/2008 14:52:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01291156
Message ID:
01291242
Vues:
13
>What happens anywhere in the code when it can't find a file it needs in order to proceed?
>
>It's up to the programmer to handle the error.
>
>I'm not talking about an error.
>Let me re-phrase....what happens if your code is running in a layer where it doesn't "see" the database/dbf?

Then you split the factory into a FactoryProductionPlant and FactoryDataRetrievalEngine and have the Plant send a vegetative request to the Engine to please see if there's a record with name="MyToken".

Or you can just decide that you can't possibly have a factory because you don't know into which layer it goes.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform