Continuing indentation

Chris Angelico rosuav at gmail.com
Wed Mar 2 18:46:29 EST 2016


On Thu, Mar 3, 2016 at 9:10 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Ethan Furman <ethan at stoneleaf.us>:
>
>> No, it isn't.  Using '\' for line continuation is strongly discouraged.
>
> Why would you discourage valid syntax?
>

Isn't that exactly the point of style guides? They stipulate/encourage
a particular subset of valid syntax, and decry/discourage another
subset. If ugly code were not syntactically valid, the style guide
wouldn't need to say anything.

ChrisA



More information about the Python-list mailing list