|
|
|
|
|
by Jtsummers
2662 days ago
|
|
I agree. You could do what I've described to produce such documentation if it hasn't been constructed already. Which is (as a professional maintenance programmer) the situation I'm normally in (poorly documented code design, even if we have a "complete" system specification). And even if such documentation exists, it's often useful to recreate it yourself in developing an understanding of a complex code base (or at least sections of it). |
|
This is a gripe of mine especially with inline comments that are too often as useful as this:
At the same time, the ‘self-documenting code’ crowd forget that code can't really describe the rationale for its existence and e.g. the expected sequence of calls to its public functions, so plain-language descriptions are still necessary even if the syntax of the chosen language approaches English.