🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#110
From: Tim Tyler
Date: Thu, 18 Jul 2002 11:03
48 lines
3370 bytes
In comp.lang.java.advocacy Ryan Breidenbach <ryan_breidenbach@hotmail.com> wrote:

:> : 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).

That only seems to work if you select the line first.

There are formatters as well - but even with them you still outdent
manually sometimes.

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

None of this is a problem if you do as I described - have your editor
tabify on downloading source, and untabify it again when
uploading it again.

If you do that, tabs tend to help - rather than hinder.
-- 
__________
 |im |yler  http://timtyler.org/  tim@tt1.org
Technical Details
Message-ID: <GzFyq4.1HB@bath.ac.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!t-online.de!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!hgmp.mrc.ac.uk!pegasus.csx.cam.ac.uk!bath.ac.uk!unknown
References: <39mX8.71483$1D2.29419397@twister.socal.rr.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> <55e900c9.0207172004.28c3d0ed@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,9881175998020bf0
X-Google-Attributes: gid10a146,public
X-Google-Thread: fdb77,9881175998020bf0
X-Google-Attributes: gidfdb77,public
X-Google-Thread: 10cf9d,9881175998020bf0
X-Google-Attributes: gid10cf9d,public
X-Google-ArrivalTime: 2002-07-18 04:09:05 PST
Newsgroups: comp.lang.java.advocacy,comp.lang.java.programmer,borland.public.jbuilder.non-technical
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!t-online.de!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!hgmp.mrc.ac.uk!pegasus.csx.cam.ac.uk!bath.ac.uk!unknown
From: Tim Tyler <tim@tt1.org>
Subject: Re: Which one for Newbie (Java - Eclipse or JBuilder)
User-Agent: tin/1.4.3-20000502 ("Marian") (UNIX) (Linux/2.4.17-grsec-1.9.3a (i686))
Reply-To: tim@tt1.org
Sender: unknown@bits.bris.ac.uk (Address not verified)
Organization: University of Bristol, UK
Message-ID: <GzFyq4.1HB@bath.ac.uk>
References: <39mX8.71483$1D2.29419397@twister.socal.rr.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> <55e900c9.0207172004.28c3d0ed@posting.google.com>
Date: Thu, 18 Jul 2002 11:03:40 GMT
Lines: 48