🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#104
From: Ryan Breidenbach
Date: Wed, 17 Jul 2002 12:18
38 lines
3062 bytes
> This is the problem. The fact that spaces are constant make it difficult
> to view at various monitor resolutions and font sizes.
> 
> I like a really large resolution and small fonts. If someone chose
> 4 spaces for me, it can be really hard to tell the indents
> 
> Almost like:
> if( foo )
>  something;
> 
> But if they use tabs, then I can adjust so the indent is more noticeable,
> and therefore more readable.
> 
> The argument of tabs vs spaces is like every language vs English.
> 
> Do you force everyone to learn English, or do you let them read it
> in their own language?
> 
> -c

The solution to this is the have a common set of coding guideline for
a team. This way, people can focus of CODING and not petty stuff like
how much to indent.

As for using tabs to indent - the problem with this is people use tabs
for lining up other things as well. When you change the spacing of a
tab, all this code that was indented consistently (methods, method
bodies, etc) will look fine. But code that was aligned for other
reasons (lining up method parameters that tool up more than one line)
lose all formatting. This is unacceptable.

If you are really THAT particular about your spacing, get an IDE that
will aapply your preferences to any code. This way, you can view the
code how you like without jacking it up with spaces for everybody
else. Eclipse has a cool plug-in called Jalopy that allows you to
define your format in a very fine grained manner.

http://jalopy.sourceforge.net/
Technical Details
Message-ID: <55e900c9.0207170418.8ee5ab3@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <39mX8.71483$1D2.29419397@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> <8mWY8.114665$eF5.3184024@twister.austin.rr.com> <ah1k6f$6v2$1@helle.btinternet.com> <55e900c9.0207161408.fb4c3b3@posting.google.com> <5Z0Z8.128739$q53.3223715@twister.austin.rr.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-17 05:18:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: ryan_breidenbach@hotmail.com (Ryan Breidenbach)
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: 17 Jul 2002 05:18:04 -0700
Organization: http://groups.google.com/
Lines: 38
Message-ID: <55e900c9.0207170418.8ee5ab3@posting.google.com>
References: <39mX8.71483$1D2.29419397@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> <8mWY8.114665$eF5.3184024@twister.austin.rr.com> <ah1k6f$6v2$1@helle.btinternet.com> <55e900c9.0207161408.fb4c3b3@posting.google.com> <5Z0Z8.128739$q53.3223715@twister.austin.rr.com>
NNTP-Posting-Host: 12.237.106.62
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1026908285 13538 127.0.0.1 (17 Jul 2002 12:18:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 Jul 2002 12:18:05 GMT