Whil Hentzen (Pro*) wrote: > How many of you have inherited someone else's system? > > It can provide extra work for the person on the other end of the > suicide-prevention hotline... or it can be kinda fun. > > One of the first things I do is instrument each method and function, so > I can trace program flow in the debugger. This is handy both to see what > is called, and when, as well as (occasionally) to determine where > slowdowns are occurring. > > What types of things to do you after getting a mess-o-code dumped in > your lap? We're assuming, of course, that the documentation consists of > well, you know. Hopefully you've found the MAIN.PRG, and have all of the > code, but let's not assume anything past that. >
Bill Anderson and myself tried to take someone else's old VFE5 app work, fixing what were supposed to be "minor" issues to a very simple app, and it turned out to be an iceberg nightmare. My first clue that there was "more underneath the surface of the water" was the error method having an asterisk in it (or perhaps it was ON ERROR *). After screwing around with it for more than short time, I decided it'd just be easier to recreate it from scratch with modern techniques. I posted that as my first "open source" code offering, iirc, on Ed Leafe's OpenTech forum. It can be fine, or it can be scary. I've seen another developer's code (from ProFox) and his code was fine, and easy to understand. It helps when you're both of the same "religion" of coding practices. However, some might look at my code and yell "blasphemy!" <g> -- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com "Work smarter, not harder, with MBSS custom software solutions!" _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

