style question

Scott David Daniels scott.daniels at acm.org
Fri Jun 30 00:31:53 CEST 2006


Jorgen Grahn wrote:
> On Mon, 26 Jun 2006 11:47:21 +0200, Fredrik Lundh <fredrik at pythonware.com> wrote:
> ...
>> assuming fixed-pitch fonts isn't very Pythonic, though; to get reliable indentation
>> no matter what font you're using, you can write [...]
> 
> Since when?  I've always coded, in all languages I've ever used[1], under the
> assumption that the reader will view it with a fixed-pitch ... font. I assumed
 > everyone else did, too....
> I like well-typeset code in print though. Bjarne Stroustrup uses an elegant
> system for C++ code, ....
See Knuth on Literate Programming and the "Web" systems (e.g. CWeb).
His goal is to look good typeset with explanation, and extract-to-compile.

--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list