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


Groups > comp.lang.python > #61322

Re: Eliminate "extra" variable

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Eliminate "extra" variable
Date 2013-12-08 19:28 +0000
References (4 earlier) <CA+FnnTzkHYNN_rgLaaXwvod9qGhetXRy+3v96+5+wEyhCq0LwA@mail.gmail.com> <CA+FnnTwZ3aF++ZzaAJzG0Y98usfLTge0KTzj14LfqDgh1OnsZQ@mail.gmail.com> <20131208125823.241112db@bigbox.christie.dr> <l82g7t$1o1$1@ger.gmane.org> <20131208132326.67741f9f@bigbox.christie.dr>
Newsgroups comp.lang.python
Message-ID <mailman.3742.1386530920.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 08/12/2013 19:23, Tim Chase wrote:
> On 2013-12-08 19:10, Mark Lawrence wrote:
>> On 08/12/2013 18:58, Tim Chase wrote:
>>> On 2013-12-07 23:14, Igor Korot wrote:
>>
>> [big snip]
>>
>> Whenever I need date manipulations I always reach out to this
>> http://labix.org/python-dateutil
>
> But based on the OP's repeated transformations from date-to-string
> and back again, what do you reach for when you want to transform
> things *needlessly*?  I recommend the delete key and some healthy
> refactoring.  :-)
>
> -tkc

Painkillers :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

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


Thread

Re: Eliminate "extra" variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-08 19:28 +0000

csiph-web