🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.advocacy
Article #109

Re: Which one for Newbie (Java - Eclipse or JBuilder)

#109
From: Ryan Breidenbach
Date: Thu, 18 Jul 2002 04:04
30 lines
2721 bytes
> : Yes, but almost all editors will allow you to place spaces instead of
> : tabs, still saving keystokes.
> 
> It's not the same when outdenting.

Agreed. Still, most decent IDEs/text editors will handle this for you,
as well (usually by hitting Shift+Tab). Even so, this doesn't seem to
outweigh how much tabs can jack up how code looks.

As I mentioned before, I see people using them to line up things other
than standard indentions (e.g. methods, inner classes, etc).

For example, many people like to line up variable declarations like
so:

  private int              id;
  private PreparedStatment stmt;
  private String           name;

As you can see in my post, they remain lined up, because they are
aligned with spaces. Suppose I used tabs instead, but I set my tabs to
equal two spaces (hey, it's my choice). Suppose you have your tabs set
to four spaces. Here is what that code would look like with tabs:

  private int                               id;
  private PreparedStatement stmt;
  private String                    name;

Huh? That doesn't look so good. God help you if you have your tabs set
to eight :-) This is why I can't stand tabs.
Technical Details
Message-ID: <55e900c9.0207172004.28c3d0ed@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <39mX8.71483$1D2.29419397@twister.socal.rr.com> <uy9cgw7ya.fsf@hotpop.com> <1aBY8.123284$q53.2971035@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> <GzDrr0.EqC@bath.ac.uk> <55e900c9.0207170420.711e3017@posting.google.com> <GzEvFG.B69@bath.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fdb77,9881175998020bf0
X-Google-Attributes: gidfdb77,public
X-Google-Thread: 10a146,9881175998020bf0
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10cf9d,9881175998020bf0
X-Google-Attributes: gid10cf9d,public
X-Google-ArrivalTime: 2002-07-17 21:04:30 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: 17 Jul 2002 21:04:30 -0700
Organization: http://groups.google.com/
Lines: 30
Message-ID: <55e900c9.0207172004.28c3d0ed@posting.google.com>
References: <39mX8.71483$1D2.29419397@twister.socal.rr.com> <uy9cgw7ya.fsf@hotpop.com> <1aBY8.123284$q53.2971035@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> <GzDrr0.EqC@bath.ac.uk> <55e900c9.0207170420.711e3017@posting.google.com> <GzEvFG.B69@bath.ac.uk>
NNTP-Posting-Host: 12.237.106.62
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1026965070 6295 127.0.0.1 (18 Jul 2002 04:04:30 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 18 Jul 2002 04:04:30 GMT