[Python-Dev] [OT] Monospaced fonts

Georg Brandl g.brandl at gmx.net
Thu Jul 26 19:04:28 CEST 2007


skip at pobox.com schrieb:
>     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.

Though being notably younger ;), I couldn't live without monospaced fonts for
source code.  Apart from being easier to read, it is essential for sketches
or things that must be aligned, such as the class schema in SocketServer.py.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list