Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-29 Thread Bruce Chapman
Tabs are really useful talking to a serial printer at 300baud, you save almost 250ms every time you print a tab instead of eight spaces. :^) On 26/01/2013 11:25 p.m., morten hattesen wrote: If you look at the Sun/Oracle JAVA SE source code you'll not only find a mixture of tabs and spaces in

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-26 Thread Roland Tepp
Mostly, because I REALLY KNOW Eclipse. I know it to the point that I think in terms of Eclipse commands and readjusting myself to use IDEA or whatever fad is hip today is just counterproductive. I have absolutely nothing against IDEA - I believe everyone who says it is a great editor, but I LIV

[The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-26 Thread morten hattesen
If you look at the Sun/Oracle JAVA SE source code you'll not only find a mixture of tabs and spaces in the same file, but even tabs requiring differing indentation (4 and 8) to match the surrounding inddntation spacing. Makes some files totally unreadable. And no way of just reformatting, as the

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Mark Derricutt
And depending on your language, whitespace matters. Take python/haskell for instances, whitespace indicates block level. If you have mixed tab/space, things can get nasty, Also lisps tend to favor code indenting styles like: (do-something-long [[100,200,300]

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Josh Berry
I would like to think that the true holy war nature of tabs vs spaces is because of the significance of tabs in some languages. Well, really, only Make. Because, otherwise, if you just set your tabstop to 4 spaces you are likely to only notice that tabs are present if you are looking for them.

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Fabrizio Giudici
On Fri, 25 Jan 2013 18:17:52 +0100, Rakesh wrote: Isn't this a bit like King Knut? I've seen soo much code over the years, much of it legacy, to think this is a problem worth solving. If I worked extensively in one codebase and never saw anyone else's code including open source code fro

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Fabrizio Giudici
On Fri, 25 Jan 2013 18:49:08 +0100, Ricky Clarkson wrote: I just don't know why people continue to use Eclipse. In many cases it's IBM sales force. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giud...@

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Ricky Clarkson
I've just found such a line in the codebase I'm working on. Firstly, IDEA's annotations show the last non-whitespace change without any fuss at all. Secondly, it's an svn project but I have a separate git svn clone that I use for bisects etc., so I went into there and did: git blame thefile, tha

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Brian Smith
On 25 January 2013 17:29, Jess Holle wrote: > Set your diffing tools to ignore space changes and then there's no issue > with tab-to-space conversion muddying them up. > It's not always about diffs. Try using subversive and the show annotations functionality in eclipse with a file someone's hel

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Dominic Mitchell
http://www.jwz.org/doc/tabs-vs-spaces.html “An eternal holy war.” -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To post to this group, send email to javaposse@googlegroups.com. To unsubscribe from this group, send email to javaposse+unsubscr..

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Jess Holle
On 1/25/2013 10:51 AM, Brian Smith wrote: Tabs are nice because users can pick their own display width. Spaces are nice because non leading space can be formatted more accurately. There's very little difference in readability though. Tabs are only workable if everyone involved is fanatical abo

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Rakesh
Isn't this a bit like King Knut? I've seen soo much code over the years, much of it legacy, to think this is a problem worth solving. If I worked extensively in one codebase and never saw anyone else's code including open source code from outside my organisation, then maybe I would be sensitive to

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Brian Smith
Tabs are nice because users can pick their own display width. Spaces are nice because non leading space can be formatted more accurately. There's very little difference in readability though. The only thing that's important in the tabs vs spaces debate is to pick one and stick to it and enforce

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Jess Holle
Tabs are evil unless they're used with /fanatic /consistency throughout a source file. Even with everyone's editors set to use tabs, I've yet to see the necessary level of consistency in the real world. For example, public void foo( SomeTypeA a, SomeTypeB b, SomeTypeC c, ...

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Rakesh
I dont have a strong opinion about tabs vs spaces because I've never found myself in a situation where I sat there thinking this is a problem. Maybe I'm just tab/space blind? On 25 January 2013 16:26, Tor Norbye wrote: > I'm pretty sure it's not just me and that Carl is equally adamant against

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Ricky Clarkson
-- > From: "Kirk Pepperdine" > Date: Fri, Jan 25, 2013 11:30 am > Subject: [The Java Posse] Re: Tabs and spaces - I don't get it > To: > > +1 on no tabs > > On 2013-01-25, at 5:26 PM, Tor Norbye wrote: > > I'm pretty sure it's not just me a

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread jon.kipar...@gmail.com
: Fri, Jan 25, 2013 11:30 am Subject: [The Java Posse] Re: Tabs and spaces - I don't get it To: -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To post to this group, send email to javaposse@googlegroups.com. To unsubscribe from

Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Kirk Pepperdine
+1 on no tabs On 2013-01-25, at 5:26 PM, Tor Norbye 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 f

[The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Tor Norbye
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