Adam Tomjack adamtj at
Mon Aug 29 01:34:37 CEST 2005

Steven Bethard wrote:
> Using a two element list to store a pair of counts has 
> a bad code smell to me.

Why is that?  It strikes me as the cleanest way to solve that problem, 
as long as it's easy enough to figure out what each element really 
represents.  You could name each element, but for a block of code eight 
lines long, doing anything more descriptive would be too verbose.


More information about the Python-list mailing list