Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Touchscreen
Message
From
31/01/2014 19:35:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01592151
Message ID:
01592801
Views:
87
>>IOW, even though I don't like my code to depend on scenarios, they do exist and dictate the behavior.
>
>You don't like scenarios for you code pieces? You mean you don't like to have a framework?

I don't like my code to react to a list of possible events, because there's always some more that weren't on the list, always something you didn't think of. I prefer my code to do a certain set of actions, and be as much as possible resistant to a "scenario we didn't think of". So instead of coding for cases, I prefer to code the general behavior and then have the scenarios just perform a set of distinct (and best if independent) steps in this behavior.

Hard to put into words, but this is my way of trying to think the code into a more robust whole.

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