Sometimes >> I'll drop in suggestions to future maintainers like, "consider >> refactoring with with perform_frobnitz_action()" > > Usually, I address future-me with comments like that (on the > assumption that there's nobody in the world sadistic enough to want to > maintain my code). But I never name future-me, the comments will be > addressed to "the subsequent maintainer" or somesuch. I do assume, > though, that future-me has forgotten everything about the code, and > since past-me left some comments that current-me has read, I think the > assumption is fairly accurate. (Did I *really* write that code? It has > my name on it.....) > > Chris Angelico >
Rather than sadistic, one would likely be masochistic to undertake the maintenance of my code :-) I have had many moments where I have later asked the question "Did I write this code?." -- http://mail.python.org/mailman/listinfo/python-list