4 ms·
> Personally I've wanted a way to link code to comments, not just the reverse, so I can change code here and be notified that it affects comments over there, I
by dragonwriter 4y ago
> Personally I've wanted a way to link code to comments, not just the reverse, so I can change code here and be notified that it affects comments over there,
If your code is separated from comments explaining it so much thag this isn't visibly obvious on review, there’s probabky a bigger problem than “I don’t have a way to link commebts to distant code and vice versa.”
- Groxx 4y agoAlmost all larger documentation tends to be very separated from the code it's describing, e.g. conceptual docs that cover the whole thing. And fairly often that's significantly more useful information, or in a much more useful format, than the documentation of X on its own.
- dragonwriter 4y agoThat makes sense and traceability is useful there. Not what I would describe as “comments”, which shaped my original response, but that’s semantics, not substance.