On Wed, Feb 22, 2017 at 10:27:33AM -0500, Benjamin Smedberg wrote: > On Thu, Feb 16, 2017 at 4:47 PM, <gsquel...@mozilla.com> wrote: > > > Question of the day: > > When breaking overlong expressions, should &&/|| go at the end or the > > beginning of the line? > > > > TL;DR: Coding style says 'end', I&others think we should change it to > > 'beginning' for better clarity, and consistency with other operators. > > > > I will avoid having an opinion here, and merely state for the record that > the final owner of this decision is Ehsan, as module owner of the C++/Rust > style module [1]. Since the discussion appears to be winding down, I hope > that Ehsan can make his decision known to finalize this email thread.
Oh, I didn't know we had a common module for both Rust and C++ style. Given we do, I'd argue that probably it's a good idea to be consistent across both, and the common Rust style is having those operators at the end of lines[1]. -- Emilio [1]: https://github.com/rust-lang-nursery/fmt-rfcs/blob/1bd5b49dc38a48aaabe5d90c87e463351db42091/example/lists.rs#L302
signature.asc
Description: PGP signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform