IntelliJ and Eclipse disagree on the default ordering of imports too, and
both can organise them automatically, which results in noisy diffs if you
don't review your changes before committing.


On Fri, Jan 25, 2013 at 1:38 PM, [email protected] <
[email protected]> wrote:

> Consider yourselves lucky. I have a guy who insists on inserting extra
> linefeeds after every line.
> Take them out, and he puts them back in and pouts.
> tabs and spaces are easy.....
>
> Sent from my mobile.
> (Typos courtesy of swype)
>
>
> ----- Reply message -----
> From: "Kirk Pepperdine" <[email protected]>
> Date: Fri, Jan 25, 2013 11:30 am
> Subject: [The Java Posse] Re: Tabs and spaces - I don't get it
> To: <[email protected]>
>
> +1 on no tabs
>
> On 2013-01-25, at 5:26 PM, Tor Norbye <[email protected]> wrote:
>
> I'm pretty sure it's not just me and that Carl is equally adamant against
> tabs. I also don't think anyone on the Posse disagreed with it, even if
> they aren't as passionate about it as Carl and I.
>
> If you've never run into a file with mixed tabs or spaces,
> congratulations, you're on a team where everyone has agreed on formatting
> settings. Consider yourself lucky.
>
> Eclipse formats using tabs by default, and I'm pretty sure IntelliJ and
> NetBeans use spaces by default, so unless you're careful to all use the
> same IDE, or to check in settings files to make sure everyone has the right
> format, you might accidentally start mixing. And I think regardless of
> whether you're a tab-person or a space-person, everyone agrees that mixing
> is bad. I won't rehash the arguments for why we think spaces are better
> than tabs; it sounds like your post was stating that you don't think
> there's an issue here, and I've seen a lot of code, including core JDK
> classes, mixing spaces.
>
> (Here are some really old blog entries I wrote related to tabs:
> https://blogs.oracle.com/tor/entry/code_advice_3_no_tabs
> https://blogs.oracle.com/tor/entry/tabs_are_evil_part_2
> https://blogs.oracle.com/tor/entry/tabs_are_evil_part_3
> Two of them show source files, one from the JDK, one from the findbugs
> source code, where I encountered mixed indentation.
> )
>
> -- Tor
>
> On Friday, January 25, 2013 7:28:40 AM UTC-8, rakesh mailgroups wrote:
>>
>> Hi all,
>>
>> something I've always wanted to ask - I've heard Tor complain about this
>> issue about using spaces or tabs many times over the years.
>>
>> Its not something I've ever encountered in over 10 years of Java
>> development.
>>
>> Is it just Tor's OCD kicking in about how he would like to see the code?
>> Or is it a legitimate issue I just don't happen to come across?
>>
>> In a team, usually everyone is using the same IDE, so we can all just use
>> the same "beautifier" - Intellij for example, has the "format before
>> checkin" option and even Eclipse had something similar for formatting the
>> code on demand.
>>
>> Or perhaps this is a Netbeans issue? I've often felt that Netbeans was
>> only one step up from a text editor so maybe the issue is more prevalent
>> there.
>>
>> Rakesh
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> Visit this group at http://groups.google.com/group/javaposse?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> Visit this group at http://groups.google.com/group/javaposse?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> Visit this group at http://groups.google.com/group/javaposse?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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


Reply via email to