xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: Checkstyle, Reloaded
Date Mon, 06 Feb 2012 08:58:21 GMT

rather than display capabilities, we should consider how human can
interpret a long line.
It is established that he can read and understand 10 entities (words or
signs) at a glance.
Coding usages give a useful line width about 75-85 characters.
We should add to this an average indent. Personally, I use 95 chars as
max length, and I'm happy with this, even in side-by-side display
(modern IDE have automatic horizontal scroll, so deep indent is not a
problem here).

Le 03/02/2012 18:45, Vincent Hennebert a écrit :
> However, I left the check for maximum line length because unreasonably
>   long lines make the code hard to follow. I increased it to 110
>   though to follow the evolution of monitor sizes. But as Peter
>   suggested me, we probably want to keep it low in order to make
>   side-by-side comparison easy.


To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org

View raw message