Article View: comp.lang.java.advocacy
Article #112Re: Which one for Newbie (Java - Eclipse or JBuilder)
From: Chad Myers
Date: Thu, 18 Jul 2002 16:12
Date: Thu, 18 Jul 2002 16:12
44 lines
3433 bytes
3433 bytes
"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
Technical Details
Message-ID:
<PNBZ8.126992$eF5.3545023@twister.austin.rr.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!cyclone.austin.rr.com!twister.austin.rr.com.POSTED!53ab2750!not-for-mailReferences:
<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>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-18 09:16:20 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!cyclone.austin.rr.com!twister.austin.rr.com.POSTED!53ab2750!not-for-mail From: "Chad Myers" <cmyers@N0.S.P4.M.austin.rr.com> Newsgroups: comp.lang.java.advocacy,comp.lang.java.programmer,borland.public.jbuilder.non-technical 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> Subject: Re: Which one for Newbie (Java - Eclipse or JBuilder) Lines: 47 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <PNBZ8.126992$eF5.3545023@twister.austin.rr.com> Date: Thu, 18 Jul 2002 16:12:31 GMT NNTP-Posting-Host: 24.243.51.87 X-Complaints-To: abuse@rr.com X-Trace: twister.austin.rr.com 1027008751 24.243.51.87 (Thu, 18 Jul 2002 11:12:31 CDT) NNTP-Posting-Date: Thu, 18 Jul 2002 11:12:31 CDT Organization: Road Runner - Texas