Creating Linked Lists in Python
Aahz
aahz at pythoncraft.com
Sat Mar 28 19:15:48 EDT 2009
In article <mailman.2856.1238274708.11746.python-list at python.org>,
andrew cooke <andrew at acooke.org> wrote:
>Aahz wrote:
>> In article <mailman.2838.1238247106.11746.python-list at python.org>,
>> andrew cooke <andrew at acooke.org> wrote:
>>
>>>(I've just noticed that the comments in Sequence are incorrect,
>>>unfortunately - please ignore any mention of "index").
>>
>> s/comments/lies/ per my .sig ;-)
>[...]
>> "At Resolver we've found it useful to short-circuit any doubt and just
>> refer to comments in code as 'lies'. :-)"
>
>yeah, it's hard. i tend to add comments as i work through the problem,
>but maybe i should delete them all at the end - in that case i originally
>had the definition of the regexps and their evaluation all mixed up in the
>same objects. it was chaos. i find writing a package like that in spare
>time is surprisingly hard - more pressure than at work in some ways (want
>to do so much more, have much less time). andrew
This is one reason why my preferred unit test approach focuses on
doctest. (Another big reason is that I'm a lazy bum. ;-)
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"At Resolver we've found it useful to short-circuit any doubt and just
refer to comments in code as 'lies'. :-)"
--Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22
More information about the Python-list
mailing list