🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#98
From: Chad Myers
Date: Tue, 16 Jul 2002 14:47
70 lines
4097 bytes
"Jon A. Cruz" <joncruz@geocities.com> wrote in message
news:3D3399A2.60FE1538@geocities.com...
> Chad Myers wrote:
>
> > Tabs are preferable because the viewer can configure them to
> > his liking, whereas with spaces, you're stuck.
>
> Many professionals believe that spaces only is the better way.

If you use vi, emacs, or other older editors.

But, it still remains: if you use spaces, then your spacing is
fixed and everyone must live with it. If you use tabs, then
everyone can configure them to their liking and use whatever
font they want.

It makes no sense to spacing. It's like building a
non-internationalized app and then sending it out to the world,
it's just ignorant of everyone else.

>
>
> > Tabs should be treated as tabs. If they aren't, then the editor
> > is broken.
>
> Yes...
>
> But what is a tab? That is, where are your tab stops? Every 8?, every 4?
> every 2? every 3? First one at column 16, next one at column 20...?

That's the point. You can configure how you like your indenting.

Perhaps you like the first column indented at 4 spaces, then subsequent
columns indented 2 or 8!

With spaces, you have no flexibility. Depending on the font you're
using, it can look totally incomprehensible. Most files I get from
vi or emacs people are this way. Unless you're using vi or emacs,
they're illegible.

> Most text editors will default to 8 space tabstops.

Most? Not from my experience.

> However, quantitative
> studies have shown that 8 spaces is sub-optimal for program source-code.
And
> in much of the source code out there, tabs and spaces are often mixed.

Not mine. But at least if you have an intelligent IDE, it'll make something
of it. But if everything is spaces, you have ZERO flexibility.

There is only one argument why spaces are preferable: If you expect everyone
in the world to use vi or emacs, and that's just a rediculously absurd
argument.

I worked in a multi-editor environment and we standardized on tabs.

Everyone was able to pull up the documents and see the indenting just
the way they liked it. When they saved it, someone else could pull it
up and see it just the way they liked it.

Every once in awhile, someone would save with spaces and everything
would look completely hosed. We'd convert to tabs and everything was
fine again.

Spaces just make no sense whatsoever.

-c
Technical Details
Message-ID: <8mWY8.114665$eF5.3184024@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-mail
References: <39mX8.71483$1D2.29419397@twister.socal.rr.com> <7emX8.89256$p85.2379351@twister.austin.rr.com> <IHvX8.90728$xy.31073401@twister.socal.rr.com> <JnBX8.80162$eF5.2524927@twister.austin.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>

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-16 07:49:51 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> <7emX8.89256$p85.2379351@twister.austin.rr.com> <IHvX8.90728$xy.31073401@twister.socal.rr.com> <JnBX8.80162$eF5.2524927@twister.austin.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>
Subject: Re: Which one for Newbie (Java - Eclipse or JBuilder)
Lines: 72
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: <8mWY8.114665$eF5.3184024@twister.austin.rr.com>
Date: Tue, 16 Jul 2002 14:47:32 GMT
NNTP-Posting-Host: 24.243.51.87
X-Complaints-To: abuse@rr.com
X-Trace: twister.austin.rr.com 1026830852 24.243.51.87 (Tue, 16 Jul 2002 09:47:32 CDT)
NNTP-Posting-Date: Tue, 16 Jul 2002 09:47:32 CDT
Organization: Road Runner - Texas