Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code Documentation
Message
From
07/12/2003 13:09:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00856259
Message ID:
00856710
Views:
19
Hi Rick

>Still considering most people don't document at all, I suspect code comments are a lot better than no comments <g>...

Yeah, as I always say in my Optimization session: Most people optimize their code at the same time as they go back to add the comments <g>

>I agree. I've always been a big believer that documentation doesn't belong in the code, but somewhere else - a doc system or whatever you use to document and comments are meant for understanding the code.

Absolutely. In my experience attempting to document in code failes for one, or more, of the following reasons:

(a) It gets left "till later" because the code isn't finalized yet
(b) It gets left "till later" because the developer is heads down cranking out code and can't be bothered with writing up the documentation now....
(c) It is written before the code and thus is a statement of intent, not documentation of what is actually happening
(d) It doesn't get updated when 'minor' changes get made to the code so that it gets increasingly outdated and more and more irrelevant (if not actually wrong) as time goes by
----
Regards
Andy Kramek
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform