[Python-ideas] allow line break at operators

Paul Colomiets paul at colomiets.name
Thu Aug 11 21:17:08 CEST 2011


Hi Matt,

On Thu, Aug 11, 2011 at 5:28 PM, Matt Joiner <anacrolix at gmail.com> wrote:
> +0.5
>
> The "trailing \" workaround is nonobvious. Wrapping in () is noisy and
> already heavily used by other syntactical structures. Since a final
> ':' is needed anyway, i think this would be great.
>
> if a
>  and b
>  or c:
>  do stuff()
>
If you really think so, try writing some coffeescript (remember to
obey 79 chars limit). Coffeescript is amasing, but it lacks
strictness of python. So you really don't know how to break line,
and it really takes time to figure out right way each time you need
it.

-- 
Paul



More information about the Python-list mailing list