A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-April/134386.html below:

[Python-Dev] pep8 reasoning

[Python-Dev] pep8 reasoning [Python-Dev] pep8 reasoningTerry Reedy tjreedy at udel.edu
Tue Apr 29 01:20:02 CEST 2014
On 4/28/2014 7:13 PM, Chris Barker wrote:
> On Mon, Apr 28, 2014 at 3:01 PM, Terry Reedy <tjreedy at udel.edu
> <mailto:tjreedy at udel.edu>> wrote:
>
>         I don't think anyone should write code with variable width fonts,
>
>     The problem is that fixed pitch does not work well for even a
>     half-way complete unicode font and I don't know that there are any
>     available.
> ...
>
>     Given that PEP8 generally disallows adding spaces to make things
>     line up, as in the following (a style I used  to adhere to)
>
>     a     = 134543344  # big number
>     bonge = 2          # short number
>
> Is ironic that that looks like hell in my variable-width font email client?

I believe that has been given as a reason to not do what I used to do. 
The only things guaranteed to actually line up are the initial graphic 
characters of lines with the exact same indent.

tjr


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4