4 ms·
Strongly agree. I think of TODO as a task that might be interesting for the next person who stumbles over this code. "This logic is not great. If you happen to
by ngruhn 1y ago
Strongly agree. I think of TODO as a task that might be interesting for the next person who stumbles over this code. "This logic is not great. If you happen to refactor this entire feature consider changing this thing as well". The TODO can even have an associated ticket but because it's right in the code it's more discoverable. Otherwise, the next person to change the code might even complete the ticket without knowing it.
- paulddraper 1y ago"Ideally, this code would X. It's acceptable that it doesn't, but if you do change it, considering doing this differently."
- luckydata 1y agothen it's not a TODO, it's just part of the comments. Promoting semantic diffusion IMHO is not a good practice in software development.
- paulddraper 1y agoHow would you quickly identify something as "would be better if." It's a "to do" but on a long (perhaps indefinite) timeframe.
- CRConrad 1y ago> How would you quickly identify something as "would be better if." [? -- my addition // CRC] How about by writing a comment containing the words "would be better if"?