Re:Writing system software: code comments
by rocqua on Sunday October 07, 2018 @06:45AM
(#18159928)
It depends on what kind of code you are working on. Having 'debt comments' in production code could be taken as a suggestion that code should not be in production.
What I really like are "This is fine, but with effort it could be done better like this" comments, which one might also call 'debt comments'. For example, if you have a brute-force search on something that could be done by bisection.
What I really like are "This is fine, but with effort it could be done better like this" comments, which one might also call 'debt comments'. For example, if you have a brute-force search on something that could be done by bisection.