PEP 8 and extraneous whitespace

Neil Cerutti neilc at norwich.edu
Thu Jul 21 15:18:06 EDT 2011


On 2011-07-21, Brandon Harris <brandon.harris at reelfx.com> wrote:
> I don't really think lining things up makes them any easier to
> read. In fact, the consistency in a single space on either side
> of an operator keeps things neat and clean. Also easier to
> maintain in any editor. Always lining up columns of stuff
> requires readjusting text every time you add a new longer
> variable and you can never be consistent in how much whitespace
> is there.

Agreed.

##>-**-<##>-**-<##>-**-<##>-**-<##>-**-<##>-**-<##>-**-<##>-**-<##
#           The temptation to make code look cutesy              #           
#             and ornate is a huge time-waster if                #
#               you let it get the best of you.                  #
##>-**-<##>-**-<##>-**-<##>-**-<##>-**-<##>-**-<##>-**-<##>-**-<##

-- 
Neil Cerutti



More information about the Python-list mailing list