pylint -- should I just ignore it sometimes?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri Oct 22 04:13:52 EDT 2010


On Thu, 21 Oct 2010 10:47:28 -0400, Mel wrote:

> Long variable names can lie; they share this ability with comments.  The
> one study** I've seen of newbie errors observed the #1 error being as
> assumption that descriptive variable names could somehow replace
> computation, e.g. that if you called a variable "total_sales", then
> accessing it would get you a sales total, regardless of what you might
> or might not write as computational statements.

I've seen newbies do that, but I had never put two-and-two together and 
realised *why* they do it.


That's a great observation -- thank you for sharing it.


-- 
Steven



More information about the Python-list mailing list