I prefer 2, but I use 4 in Java because that's the predominant convention.

On Tue, May 17, 2011 at 1:54 PM, Chris Koerner <[email protected]> wrote:
> Long ago I used 3 white spaces for indention, then when I worked in Ruby it
> was 2 characters for indention, now PHP people are using 4 characters for
> indention.
>
> If you have an existing codebase, follow whatever convention they used (if
> they did) (or if the language forces it, ala Python).
> But what do you prefer to use?  I would have said 2, but now 4 is looking
> rather nice.
>
>
> (anyone who mentions they use tabs, please line up against the back wall)
>
> --
> 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.
>



-- 
R. Mark Volkmann
Object Computing, Inc.

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