Guido sees the light: PEP 8 updated

Antoon Pardon antoon.pardon at rece.vub.ac.be
Tue Apr 19 09:07:50 EDT 2016


Op 19-04-16 om 13:47 schreef Marko Rauhamaa:
> Prehistoric programming languages considered uppercase/lowercase
> differences insignificant variations. Most modern languages preserve the
> distinction and in fact invite us to make a difference between:
>
>    BLACK
>    Black
>    black
>
> Why stop there?
>
> We need a PEP to distinguish also between:
>
>  - typefaces (Times New Roman vs Garamond)
>
>  - weights (bold vs thin)
>
>  - serifs (with or without)
>
>  - sizes (8pt vs 11pt)
>
>  - colors (goldenrod vs maroon)

Well personnaly I would like the introduction of weights.
So that reserved keywords are in bold and identifiers are
thin.

With unicode we could use the mathematical bold letters for
reserved words.

-- 
Antoon Pardon




More information about the Python-list mailing list