Article View: comp.lang.java.advocacy
Article #79Re: Which one for Newbie (Java - Eclipse or JBuilder)
From: Ryan Breidenbach
Date: Tue, 23 Jul 2002 22:12
Date: Tue, 23 Jul 2002 22:12
39 lines
3057 bytes
3057 bytes
> Believe it or not, there are some people who use proportional-width fonts
> for development, and spacing screws that all up. Hardly any of the indents
> match up.
>
> With tabs, they do.
I don't see how things in a proportional-width font would be any
different with tabs or spaces. Don't tabs just insert a configured
number of spaces?
As Dale has already mentioned, spaces are interpretted consistently
everywhere. The same cannot be said for tabs. With that being true
(and it IS), I can't see why you would want to use tabs.
Personally, I indent my code 2 spaces, so I have my editor set to
insert at most two spaces when I press the tab key. Sun, on the other
hand, indents their code four spaces. Sun ALSO uses tabs in their
code, and their tabbing is set to eight spaces. I don't mind that
their indenting scheme differs from mine (2 vs 4 spaces) - that's
their choice. BUT, it bugs the crap out of me that since I have my
editor set to interpret tabs as two spaces, it shows up like this: (^^
represents spaces as tabs)
public ArrayList() {
^^this(10);
}
Obviously, this is not how they indented their code to show up.
However, if they always used spaces, never tabs, their code would show
up EVERYWHERE as indented correctly with no extra configuring as so:
public ArrayList() {
this(10);
}
In order for me to see THEIR code properly, I have to go muck with MY
configurations. This is why I say you should never use tabs.
Ryan
Technical Details
Message-ID:
<55e900c9.0207231412.2ca51206@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<7emX8.89256$p85.2379351@twister.austin.rr.com> <3D32F842.EC524346@geocities.com> <ImDY8.123314$q53.2997975@twister.austin.rr.com> <3D3399A2.60FE1538@geocities.com> <8mWY8.114665$eF5.3184024@twister.austin.rr.com> <ah1k6f$6v2$1@helle.btinternet.com> <55e900c9.0207161408.fb4c3b3@posting.google.com> <rs5bjuok6d7urbm0kl3pti3q18mknvsaur@4ax.com> <3d3c4db4@news.tce.com> <fJY_8.160787$eF5.4247098@twister.austin.rr.com> <3d3c79d7@news.tce.com> <Ns%_8.161160$eF5.4268956@twister.austin.rr.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cf9d,9881175998020bf0 X-Google-Attributes: gid10cf9d,public X-Google-Thread: fdb77,9881175998020bf0 X-Google-Attributes: gidfdb77,public X-Google-Thread: 10a146,9881175998020bf0 X-Google-Attributes: gid10a146,public X-Google-ArrivalTime: 2002-07-23 15:12:04 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: ryan_breidenbach@hotmail.com (Ryan Breidenbach) Newsgroups: comp.lang.java.advocacy,comp.lang.java.programmer,borland.public.jbuilder.non-technical Subject: Re: Which one for Newbie (Java - Eclipse or JBuilder) Date: 23 Jul 2002 15:12:03 -0700 Organization: http://groups.google.com/ Lines: 39 Message-ID: <55e900c9.0207231412.2ca51206@posting.google.com> References: <7emX8.89256$p85.2379351@twister.austin.rr.com> <3D32F842.EC524346@geocities.com> <ImDY8.123314$q53.2997975@twister.austin.rr.com> <3D3399A2.60FE1538@geocities.com> <8mWY8.114665$eF5.3184024@twister.austin.rr.com> <ah1k6f$6v2$1@helle.btinternet.com> <55e900c9.0207161408.fb4c3b3@posting.google.com> <rs5bjuok6d7urbm0kl3pti3q18mknvsaur@4ax.com> <3d3c4db4@news.tce.com> <fJY_8.160787$eF5.4247098@twister.austin.rr.com> <3d3c79d7@news.tce.com> <Ns%_8.161160$eF5.4268956@twister.austin.rr.com> NNTP-Posting-Host: 199.221.61.40 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027462324 30657 127.0.0.1 (23 Jul 2002 22:12:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 23 Jul 2002 22:12:04 GMT