On May 18, 7:56 am, Casper Bang <[email protected]> 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.

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

Reply via email to