Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60615

Re: Use of logging module to track TODOs

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'from:addr:yahoo.co.uk': 0.04; 'context': 0.07; 'happen.': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'tismer': 0.09; 'python': 0.11; 'gonna': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'hey': 0.18; 'possible,': 0.19; 'not,': 0.20; 'seems': 0.21; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'switch': 0.26; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'code': 0.31; 'context.': 0.31; 'fixing': 0.31; 'weeks': 0.32; '-----': 0.33; 'but': 0.35; "i'll": 0.36; 'project': 0.37; 'christian': 0.38; 'todo': 0.38; 'to:addr:python- list': 0.38; 'list,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'remove': 0.60; 'applicable': 0.60; 'world.': 0.61; 'myself': 0.63; 'week,': 0.64; 'urgent': 0.67; 'greetings': 0.72; 'todos': 0.78; 'instantly': 0.84; 'zen': 0.84; 'received:89': 0.85; 'forgotten': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Use of logging module to track TODOs
Date Wed, 27 Nov 2013 15:13:39 +0000
References <0f0dc3b6-1c06-4c76-99ba-8df4969d6ee2@googlegroups.com> <2056962806.47363143.1385563961849.JavaMail.root@sequans.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-89-240-167-175.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
In-Reply-To <2056962806.47363143.1385563961849.JavaMail.root@sequans.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3304.1385565236.18130.python-list@python.org> (permalink)
Lines 37
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385565236 news.xs4all.nl 15870 [2001:888:2000:d::a6]:56916
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60615

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Use of logging module to track TODOs Jordi Riera <kender.jr@gmail.com> - 2013-11-27 06:38 -0800
  Re: Use of logging module to track TODOs Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-27 15:13 +0000

csiph-web