commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz" <phil.ste...@gmail.com>
Subject Re: [all] Line width and such minutiae
Date Wed, 29 Mar 2006 02:27:09 GMT
On 3/28/06, Martin Cooper <martinc@apache.org> wrote:
> On 3/28/06, Gary Gregory <ggregory@seagullsoftware.com> wrote:
> >
> > > -----Original Message-----
> > > From: mfncooper@gmail.com [mailto:mfncooper@gmail.com] On Behalf Of
> > Martin
> > > Cooper
> > > Sent: Tuesday, March 28, 2006 3:02 PM
> > > To: Jakarta Commons Developers List
> > > Subject: Re: [all] Line width and such minutiae
> > >
> > > On 3/28/06, Henri Yandell <flamefew@gmail.com> wrote:
> > > >
> > > > On 3/28/06, Phil Steitz <phil.steitz@gmail.com> wrote:
> > > >
> > > > > My personal preference is 80 column line widths, partly because
> > this
> > > > > makes diffs readable.
> > > >
> > > > Sorry, forgot to add this to the other email.
> > > >
> > > > For the record, I like 120 column line widths. Java's a verbose
> > > > language, 80 feels cramped. People can print in landscape :)
> > >
> > >
> > > For me, printing is not the issue, side-by-side diffs are the issue. I
> > > hate
> > > having to scroll horizontally all the time to see the actual diffs.
> > That's
> > > why I'm with Phil on 80 character widths.
> >
> > This sounds to me like a problem with a particular diff tool. I do not
> > think we should restrict our source code based on the limitations of
> > /one/ tool.
> >
> > For those of us using Eclipse, this is not an issue since the tool
> > (Eclipse) presents a nice user-interface that allows me to focus on the
> > nature of the changes as opposed to the changes and the format the
> > changes are given in.
> >
> > We use 120 at work. I think we got the idea from Jakarata Commons but I
> > cannot find a link right now. Plenty of Commons projects use 120, so the
> > number must come from some previous agreement.
>
>
> Perhaps agreement among some subset of us - the components I've worked on
> use 80 characters. ;-)
>

The number 80 has numerological properties that imbue the code with a
special quality that obviously only you and I appreciate, Martin.

Mailers wrapping commit diffs is a sign that we have offended the Gods
when we code "beyond the end of the card" ;-)

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message