🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#113
From: ET
Date: Thu, 18 Jul 2002 17:07
58 lines
3984 bytes
"Chad Myers" <cmyers@N0.S.P4.M.austin.rr.com> wrote in message
news:PNBZ8.126992$eF5.3545023@twister.austin.rr.com...
>
> "Ryan Breidenbach" <ryan_breidenbach@hotmail.com> wrote in message
> news:55e900c9.0207172004.28c3d0ed@posting.google.com...
> > > : 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.
>
> LOL, one tiny example.
>
> For everything else, Tabs win.
>
> So, use spaces for outdenting and tabs for everything else.
>
> Using spaces for everything just because outdenting looks
> better with spaces doesn't make much sense.
>
> -c

Still not a convincing argument about spaces ... just use the tab on the
outdent to position at the next tab stop instead of just one space from the
longest type identifier.   If you use tabs, you can then even use a
proportional font and have everything line-up the way you want.   In any
event, this is really not an issue because if you use a decent editor (like
Codewright), then you can at any time, select the block of code and have the
system do a conversion for you to whatever works for you.

--ET--
Technical Details
Message-ID: <ujdtehlkts4tfd@corp.supernews.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!tethys.csu.net!nntp!sn-xit-05!sn-xit-01!sn-post-01!supernews.com!corp.supernews.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> <55e900c9.0207172004.28c3d0ed@posting.google.com> <PNBZ8.126992$eF5.3545023@twister.austin.rr.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: 10cf9d,9881175998020bf0
X-Google-Attributes: gid10cf9d,public
X-Google-Thread: fdb77,9881175998020bf0
X-Google-Attributes: gidfdb77,public
X-Google-ArrivalTime: 2002-07-18 10:07:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!tethys.csu.net!nntp!sn-xit-05!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "ET" <etodd@msn.com>
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: Thu, 18 Jul 2002 10:07:28 -0700
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <ujdtehlkts4tfd@corp.supernews.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> <55e900c9.0207172004.28c3d0ed@posting.google.com> <PNBZ8.126992$eF5.3545023@twister.austin.rr.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1050
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1050
X-Complaints-To: newsabuse@supernews.com
Lines: 60