4 ms·
> If I am in a rush to implement something and then am sidetracked because of a stupid small bug, then I just fix that small bug in the code. What if the small
by ParetoOptimal 4y ago
> If I am in a rush to implement something and then am sidetracked because of a stupid small bug, then I just fix that small bug in the code.
What if the small bug that side-tracked you eould have been prevented by a comment?
- hutzlibu 4y agoWhat if the small bug got introduced because of lack of time to cater all the verbose comments? But seriously, in the cases I remember - not really. Most bugs are a cause of lack of higher level understanding of a certain module. Some clear comments can help with that, but better is proper higher level documentation and the time to read and maintain them.
- ParetoOptimal 4y ago> Most bugs are a cause of lack of higher level understanding of a certain module. Some clear comments can help with that, but better is proper higher level documentation Agreed. However I've found that the farther away the documentation is, the less people will use it. If it's external, it's very hard to get people to use it.