4 ms·
Great article. I like "debt comments" though, no point hiding defects really.
by p0nce 8y ago
Great article. I like "debt comments" though, no point hiding defects really.
- rocqua 8y agoIt 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.
- p0nce 8y agoLet's rewrite this: there is a point to hiding defects... if you are a contractor or looking for a promotion.