Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Untangling spaghetti code
Message
From
23/02/2008 23:01:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
23/02/2008 00:10:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01295648
Message ID:
01295805
Views:
11
>Hi
>I have been given a very large DOS application, at worse I will probably end up babysitting it. At best I will get to replace it, either way I need to understand what it does and how it works, anybody got any hints to the best way of going about this? Any utilities that might help?
>TIA
>Stuart

It would certainly help to get hold of the original programmer, and let him explain as much as possible to you. If the programmer is dead, contact a spiritist <g>.

Also, it would help to review whatever documentation was left. Since you mention "spaghetti code", I strongly suspect there isn't much documentation either...

If none of the above helps, first of all, make the application run, and see WHAT it does. The users may be able to help you here. This I consider an important first step to understanding the program logic. Then you can start figuring out HOW each form, etc. does its stuff.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform