Allowing comments after the line continuation backslash

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sat Nov 6 08:24:27 CET 2010


In message <8jd3m9Fr55U7 at mid.individual.net>, Neil Cerutti wrote:

> On 2010-11-03, Ben Finney <ben+python at benfinney.id.au> wrote:
>
>>     styles = [
>>         ("normal",      "image",     MainWindow.ColorsNormalList),
>>         ("highlighted", "highlight", MainWindow.ColorsHighlightedList),
>>         ("selected",    "select",    MainWindow.ColorsSelectedList)]
> 
> Agreed, except cute stuff like putting those three items in
> columns is just as bad.
> 
> Code should be utilitarian rather than ornate, Shaker rather than
> Victorian.

Tufte’s concept of “chartjunk” could perhaps be extended to “formatjunk” or 
“prettyprintjunk”.



More information about the Python-list mailing list