[Baypiggies] padding variable assignments, why is it bad?
Guido van Rossum
guido at python.org
Sat Aug 11 03:00:38 CEST 2012
Ironically, the reason became obvious when I read your message in gmail. It
was displayed in a variable-width font. :-)
On Friday, August 10, 2012, Aleksandr Miroslav wrote:
> (Reading this email requires a monospaced font.)
>
> I do this a lot in my code:
>
> foo = 1
> foo_bar = 2
> foo_bar_quux = 3
>
> but pep8, which I started using recently, considers this wrong, so I
> have to rewrite to the more common form:
>
> foo = 1
> foo_bar = 2
> foo_bar_quux = 3
>
> which I think sacrifices readability. Perhaps this is the n00b in me
> talking, but why is this considered bad?
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org <javascript:;>
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>
--
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20120810/32cba057/attachment.html>
More information about the Baypiggies
mailing list