Sometimes when developing using open source software, you need to read its source code (especially zope / plone). Many times I need to write print instructions, or debug calls (import pdb), or comment on try / except, you name it.
Sometimes I have many files open when trying to find a problem, and sometimes I forget to delete these print / debug changes.
So my question is: how do you keep yourself organized when you do this? You write "TODO" along with the changes and look for them later, you keep everything in your editor, and when you find what you are looking for, you simply return the files (this approach will not come in handy when you are looking for a really big problem that takes days, Do you need to turn off the computer and return the next day)? Or are you just doing nothing, because print statements in the development environment have nothing to worry about?
I am using Vim. I'm just curious to know how other programmers view this problem.
source
share