(no title)
aliceryhl | 2 years ago
What would you do to avoid this?
Sometimes the same situation comes up with tests, but it is not as common in my experience.
aliceryhl | 2 years ago
What would you do to avoid this?
Sometimes the same situation comes up with tests, but it is not as common in my experience.
FPGAhacker|2 years ago
Assuming we’re not taking about user guide kind of docs, then a major benefit of writing docs first is to clarify your thinking. Being able to explain your intent in the written word is valuable because you will often uncover gaps in your thinking. This applies to a specification, or to acknowledging problem reports and updating with theories on what the cause of said problem is and an approach to confirming or fixing it. You can even reference that problem report in commits and merge requests. It pretty beneficial all around.
And docs don’t have to me masterpiece works of art. Just getting people to clarify intent is a huge win. Peer reviewers don’t have time to do a super deep dive into code. If they know what you intended code to do, that’s something many reviewers can check pretty quickly without having to know much context.
It’s selfish and naive to disregard basic documentation of intent.
Vinnl|2 years ago
seb1204|2 years ago