On Wed, May 18, 2011 at 8:46 AM, Vince O'Sullivan <vjosulli...@gmail.com> wrote:
> On May 18, 7:56 am, Casper Bang <casper.b...@gmail.com> wrote:
>> > (anyone who mentions they use tabs, please line up against the back wall)
>>
>> Bah if everyone just used a tab to signify a logical indentation
>> level, your whole question becomes pointless - think about it for a
>> second. Indentation should be about expressing semantics on screen,
>> not act as a space macro in the AST. I usually render one indentation
>> as 4 spaces.
>
> That only works if each line contains, at most, a single statement and
> there are no multi-line statements.
>
> Once statements get wrapped across lines, the wrapped parts need to be
> indented too.  If tabs are used then these tabs no longer signify
> logical indentation.
>
> Indentation is just a pretty code layout artifact that resembles the
> code logic in the same way that a code comment does.
>


I don't think he was referring to logical indentation, per se.  More
semantic indentation.  This would be akin to saying which font tag do
you use to signify emphasis in an html document.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to