On 03/27/2015 04:42 PM, Jan De Mooij wrote:
On the other hand, going from 99 columns to 80 will also be
annoying in a bunch of places.

I don't think that's necessary.  Let's relax our 80-column rule
in Gecko instead.  We can keep it as a recommendation, but allow
longer lines when it improves readability of the code. In Layout,
where I spend most of my time, we tend to prefer
ReallyLongAndDescriptiveNames which often leads to weird line-
breaking and indentation to make the code fit in 80 columns.
This makes the code hard to read and maintain, not to mention the
*significant* waste of time for the writer to try to squeeze it
down to fit.  I have to admit that I have sometimes chosen
shorter and less descriptive names just to avoid the problem and
I've seen others do the same (most recently today actually when
reviewing some code).

So let's change the project-wide coding rules instead to allow 99
columns as the hard limit, but keep 80 columns as the recommended
(soft) limit.

/Mats

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to