in reply to Where to place POD
I find there is no good solution for all cases.
I want the POD to read as a coherent document, which is hard to ensure if it is broken up across the code. The ideal ordering of the methods/functions in the code is not always the same as the ideal ordering within the documentation.
On the other hand, my experience is that if the documentation is not next to the code, people are much less likely to read the documentation when looking at the code (resulting in them reading the code with incorrect assumptions about the intent), and much less likely to update the documentation when changing the code.
I guess I put them inline 90% of the time, the remaining cases are those where that would make it too hard to maintain the desired structure.
Hugo
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Where to place POD
by talexb (Chancellor) on Jan 15, 2024 at 04:27 UTC | |
by hv (Prior) on Jan 15, 2024 at 15:54 UTC | |
by talexb (Chancellor) on Jan 16, 2024 at 00:50 UTC | |
by eyepopslikeamosquito (Archbishop) on Jan 16, 2024 at 03:55 UTC | |
by afoken (Chancellor) on Jan 16, 2024 at 12:50 UTC | |
by talexb (Chancellor) on Jan 16, 2024 at 15:20 UTC | |
by Bod (Parson) on Jan 17, 2024 at 00:18 UTC | |
by Polyglot (Chaplain) on Jan 16, 2024 at 04:19 UTC | |
by eyepopslikeamosquito (Archbishop) on Jan 16, 2024 at 05:45 UTC | |
| |
by Bod (Parson) on Jan 15, 2024 at 21:10 UTC |