commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [Lang] Source code line length
Date Tue, 25 Mar 2003 00:44:48 GMT
checkstyle.properties specifies 120, which is a reasonable length.
Stephen

----- Original Message -----
From: "Gary Gregory" <ggregory@seagullsw.com>
To: "'Jakarta Commons Developers List'" <commons-dev@jakarta.apache.org>
Sent: Monday, March 24, 2003 11:24 PM
Subject: [Lang] Source code line length


> Hello All,
>
> This discussion applies to all of Commons but source code formatting is a
> religious issue for some so I am happy to only address this at the [Lang]
> level.
>
> For our regular development (at work), we all use Eclipse's formatter with
> the same parameters (line length is the only factory default we changed,
> 145).
>
> Sun's conventions document advises to "Avoid lines longer than 80
> characters, since they're not handled well by many terminals and tools."
>
> Apache's guidelines points to Sun's while asking contributors to "Please
> respect the style of the orginal[sic] file. Make sure that your additions
> fit in with that style".
>
> Lang Line length seems to be varied. I am happy to follow whatever
> convention but I would like to plug in a number (80 or >) if there is some
> unspoken convention here.
>
> Thanks,
> Gary
>


---------------------------------------------------------------------
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