Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Continued comments ...
Message
From
21/03/2000 10:17:31
 
 
To
21/03/2000 09:01:28
Paul Frost
Instem Computer Systems Ltd
Stone, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00348010
Message ID:
00348363
Views:
26
Paul,

>Though over the years some of my worst problems have been due to the presence of comments, rather than the lack of them. There's a tendency to believe the comments rather than the code & I've found that many programmers (not me, honest!), in the heat of the moment of fixing a bug, are likely to disregard updating the comments as well as fixing the bug.

Good answer. I've done quite a bit of work on OPC's (other people's code) and I do appreciate at least some header comments about the purpose of the program or function, the parameter specs (although they're usually easy enough to figure out), return values, and any revision history.

A simple comment here and there related to overall program flow and logic is also appreciated, along with detailed comments about any unusual logic or bug workarounds.

But I agree that nothing beats honing your abilities in reading the code and doing your own analysis of it.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform