Sami -

Although you directed the question to Jukka, I'll express my opinion too
(and I suspect that from what he said he will agree with me).

In my opinion, 4 characters express the logical hierarchy much more clearly
than 2 characters, so 4 should be used.

FWIW, the Sun conventions are pretty clear about indentation levels being
visually 4 characters width in difference, although they introduce tab chars
which wreak havoc on the readability for many editor configurations.

- Keith



Sami Siren-2 wrote:
> 
> Jukka Zitting wrote:
>> Hi,
>> 
>> On 9/21/07, Chris A. Mattmann (JIRA) <[EMAIL PROTECTED]> wrote:
>>> As an FYI: do we want to adopt the Sun convention across the board here?
>>> What do others think?
>> 
>> I'd prefer Sun conventions (with spaces instead of tabs for indentation).
> 
> Currently there are differences in indentation 2 vs 4 spaces. Which one
> should we use?
> 
> -- 
>  Sami Siren
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tika-coding-style-%28Was%3A--jira--Commented%3A-%28TIKA-6%29-Port-Nutch-%28or-better%29-MimeType-detection-system-into-Tika%29-tf4496520.html#a12970258
Sent from the Apache Tika - Development mailing list archive at Nabble.com.

Reply via email to