[Python-Dev] Two spaces or one?

Josiah Carlson jcarlson at uci.edu
Thu Jul 26 17:24:22 CEST 2007


skip at pobox.com wrote:
> 
> 
>     Pete> That points towards a way forward.  Why do programming languages
>     Pete> continue to assume use of a monospaced font?  It was natural when
>     Pete> we used punch cards and line printers, but now?  Python relies on
>     Pete> the indentation but could be flexible about other textual
>     Pete> attributes.
> 
> Nothing in Python assumes anything about fonts.  That's all a function of
> the text editor you use and your editing preferences.  Me, I find it easier
> to read code which is displayed or printed with monospaced fonts.  Note,
> however, that I've been programming for 30 years.  I started with IBM punch
> cards, so I might be a bit biased.

I started in '98, and I also find monospaced fonts easier to read in
various circumstances (email, code, shells, etc.).  But indeed, Python
makes no assumption about fonts.  A person could use Wingdings for all
Python cares.

 - Josiah



More information about the Python-Dev mailing list