On 1/8/14 12:03, Martin Thomson wrote:
On 2014-01-08, at 09:57, Adam Roach <a...@mozilla.com> wrote:
Automated wrapping to a column width is less than optimal. If you look back at
bz's example about how he would chose to wrap a specific conditional, it's
based on semantic intent, not the language syntax. By and large, this goes to
author's intent and his understanding of the problem at hand. It's not the kind
of thing that can be derived mechanically.
From that I infer that you would prefer to leave wrapping choices to
individuals. That’s in favour of the latter option: enforce line length, but
don’t reformat to it.
My observation has two key implications. That's the first.
The second is that we need to be careful if we decide to run a
reformatter over the code wholesale, since you can actually lose useful
information about author's intent. I'm not the first to raise that point
in this discussion; I'm simply agreeing with it.
--
Adam Roach
Principal Platform Engineer
a...@mozilla.com
+1 650 903 0800 x863
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform