3 ms·
I like the way the Golang team handled the introduction of Contexts. Adding them required a lot of re-thinking, and so they added a Context.TODO() method which
by gtrubetskoy 10y ago
I like the way the Golang team handled the introduction of Contexts. Adding them required a lot of re-thinking, and so they added a Context.TODO() method which returned a context stub essentially.
Something similar could be used with todo comments in general, e.g. in your favorite language something along the lines of:
import todo
todo.add("Fix this later")
Which would keep track of those and you can somehow automate reporting, various restrictions and what not.
[1] https://golang.org/pkg/context/#TODO https://golang.org/pkg/context/#TODO