Use of logging module to track TODOs

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Nov 27 10:13:39 EST 2013


On 27/11/2013 14:52, Jean-Michel Pichavant wrote:
>
>
> ----- Original Message -----
>> Hey list,
>
> Greetings !
>
>> How do you do with your TODOs?
>>
>> Regards,
>> Jordi
>
> TODOs always share the same fate : they get forgotten and wander the code until the project dies. Unless you have the required mental resilience to stop the urgent work to fix your TODOs once a week, this is gonna happen.
>
> Here's how I'm dealing with TODOs:
> 1/ I instantly remove them.
> 2/ I force myself to fix them right now, when possible, If not, I'll have to live without.
>
> At least, it works for me.
>
> JM
>
> Note : fixing the TODO right now is efficient as you don't need to switch your working context a few weeks later.
>

This, from the Zen of Python, seems applicable in this context.

Now is better than never.
Although never is often better than *right* now.

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence




More information about the Python-list mailing list