[openstack-dev] [all] Using \ for multiline statements

Roman Dobosz roman.dobosz at intel.com
Wed Dec 28 08:56:43 UTC 2016


On Tue, 27 Dec 2016 12:00:10 -0600
Ed Leafe <ed at leafe.com> wrote:

> >> There is a problem with the use of backslash at the end of the line, where
> >> if you also put a space after it, it no longer does what it seemingly
> >> should. 
> > 
> > Oooh. nice. This is the good technical reason I was looking for. So there
> > really is a valid reason to avoid this, other than just preference of
> > readability and coding style. Thanks!
> 
> True, but we also have a pep8 check for spaces at the end of lines.

And, (I hope) most of us use something which trim the trailing
whitespace on save, since most of good editors have such ability…

-- 
Cheers,
Roman Dobosz



More information about the OpenStack-dev mailing list