Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why design patterns are easier in dynamic languages
Message
From
10/02/2008 15:02:35
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01291156
Message ID:
01291242
Views:
14
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform