My opinion only (since I've been pretty inactive lately ... only enough time to lurk)
I'm a big fan of long method/class names and 80 character width drives me nuts - unless your IDE is a phone - 80 is not very wide. 100 many times is just enough extra space to limit a lot of wrapping. (preferred soft limit) 120 is pretty wide and with enough side bars open in your IDE - this could get annoying. On Thu, Aug 8, 2013 at 1:50 PM, Mark Thomas <ma...@apache.org> wrote: > Currently, Tomcat has an 'guide' of a maximum of 80 characters for line > length. It has been a while since we reviewed this and as we are looking > at style rules... > > As a starting point what do folks think of the following options: > > Line length: > 80 - the current > 100 - > 120 - > > Strictness > Informal - the current > Enforce - Use checkstyle to enforce whatever limit is chosen > > > Pros for longer lines: > - code easier to read > > Cons > - diffs may wrap in mail clients > - harder to work with code in a pure text interface (particularly if > that interface is limited in width to 80 chars) > > > Comment > - With increasing screen resolution I expect IDEs to manage widths upto > 120 or possibly even more > - Few (any?) folks will ever need to work in a pure text UI where the > line length is limited > - My only concern is readability of diffs > > I have no strong preference on line length but if we do opt for a longer > length I'd like to see checkstyle enforce the limit. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >