[openstack-dev] [all] Using \ for multiline statements
Sean McGinnis
sean.mcginnis at gmx.com
Tue Dec 27 17:33:49 UTC 2016
On Fri, Dec 23, 2016 at 03:00:02PM +0100, Radomir Dopieralski 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!
> Together with the fact, that you can achieve the same thing using
> () in pretty much all instances (it used to not be true for imports, but
> that has been fixed), it suggests that it should be avoided. However, it
> does help to format certain Java-esque constructs (mostly with mox) in a
> more readable way, so sometimes it's justified.
More information about the OpenStack-dev
mailing list