A good example is feature flags... how often do you go back and actually clean up old flag code?
The tool:
Todo or Else is a small CLI written in Go but supporting multiple languages. Add it to your project and then annotate your TODOs with "tags" like so:
TODO (by:2027-03, owner:Fran) do something
You can specify a date by either- using `by:YYYY-MM` or `by:YYYY-MM-DD` to set a deadline
- using `from:YYYY-MM-DD` to set a created date (default staleness threshold is 90 days, configurable)
(I used Go for a few reasons. Firstly: the performance is really solid, on my newish MBP the scanner can process a few thousand source files in just under two seconds. Secondly: the cross compilation story is still really good, even with CGO. Zig handles the tree sitter compilation for MacOS and Linux.)
frenchboi•1h ago
hrimfaxi•1h ago