DickCappels
- Joined Aug 21, 2008
- 10,153
Along with names other people can understand and comments that describe the function, something I have been doing for the last several years is commenting my code and in some cases, writing a comment that explains what a routine is supposed to do and what is affected.
This habit came about after re-using code written a decade or more earlier and then having to reverse engineer the old code, which sometimes is more difficult than writing it again from scratch.
This habit came about after re-using code written a decade or more earlier and then having to reverse engineer the old code, which sometimes is more difficult than writing it again from scratch.