🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#97
From: Jon A. Cruz
Date: Tue, 16 Jul 2002 03:57
44 lines
3149 bytes
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.


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

Most text editors will default to 8 space tabstops. 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. And
this is rampant among DevStudio users despite having a "show whitespace" menu
item and key shortcut. Just go through a large software developer and see how
many different ways the programmers have their tabs set.

Try them out (the show whitespace option). Check a lot of production code.
See if every single source file has only tabs and no spaces used. Often
spaces will sneak in when breaking long lines. If you're in a shop that has
"tabs ONLY" as a hard rule, then more power to you. Otherwise there are many
issues to consider.

And also what you are working on can be important. If you're doing standard
makefiles, you'll need to start with tabs, not spaces. And with assemblers
and other languages, whitespace matters (Python and FORTRAN among those).


Here's one page to start with
http://adamspiers.org/computing/why_no_tabs.html
But if you want to get into this topic, you should probably search then start
a thread over on comp.software-eng

--
Jon A. Cruz

What's this? It's almost as though the fates were tempting me to...
Bad fates. Baaad... Naughty fates...
Technical Details
Message-ID: <3D3399A2.60FE1538@geocities.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!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>

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-15 21:01:23 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Jon A. Cruz" <joncruz@geocities.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: Mon, 15 Jul 2002 20:57:22 -0700
Organization: watch for lobsters
Message-ID: <3D3399A2.60FE1538@geocities.com>
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686)
X-Accept-Language: en
MIME-Version: 1.0
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>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: newsabuse@supernews.com
Lines: 47