tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Mattmann <chris.mattm...@jpl.nasa.gov>
Subject Re: Tika coding style (Was: [jira] Commented: (TIKA-6) Port Nutch (or better) MimeType detection system into Tika)
Date Sat, 06 Oct 2007 00:24:21 GMT

I'm fine with either 2 space or 4 space indentations. I'm -1 for any tab
indentations though, and I think we all agree on that.


On 10/5/07 5:03 AM, "Jukka Zitting" <jukka.zitting@gmail.com> wrote:

> Hi,
> On 10/1/07, Doug Cutting <cutting@apache.org> wrote:
>> Sami Siren wrote:
>>> Currently there are differences in indentation 2 vs 4 spaces. Which one
>>> should we use?
>> I prefer 2-space indentation, since it makes it much easier to fit code
>> into 80 columns.
> I prefer wider indentations since they make it very clear when you
> really should start breaking your code into smaller methods.
> Also, 4 spaces is what the Sun Java conventions explicitly mention as
> the unit of indentation.
> BR,
> Jukka Zitting

Chris Mattmann, Ph.D.
Cognizant Development Engineer
Early Detection Research Network Project

Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                     Mailstop:  171-246

Disclaimer:  The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.

View raw message