On Fri, Feb 17, 2017 at 5:28 PM, <gsquel...@mozilla.com> wrote: > Of course grepping agrees with you, since it's been the coding style so > far! ;-) > I was hoping to change that, if most people agreed. >
Isn't the current style that && and || go at the end but other operators go at the start? And yet in practice going at the end dominates for all operators. As for [2]: "Rationale: operator at the front of the continuation line makes for faster visual scanning, because there is no need to read to end of line. Also there exists a context-sensitive keyword hazard in JavaScript; see bug 442099, comment 19, which can be avoided by putting . at the start of a continuation line in long member expression." The first sentence isn't compelling to me; reading to the end of a line isn't that hard. Having an exception for . in JS might be reasonable. I don't write JS much so that's not a high priority for me. Nick _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform