🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#37
From: Jim Sculley
Date: Tue, 30 Jul 2002 18:29
50 lines
3238 bytes
Tim Tyler wrote:
> In comp.lang.java.advocacy Dale King <KingD@tce.com> wrote:
> : "Roedy Green" <roedy@mindprod.com> wrote in message
> 
> :> I would hope most of the alignment would be automatic.  Programmers
> :> waste far too much time fiddling around with such minutiae an aligning
> :> Java text is some personal anally retentive way.
> 
> : Which was my point that intra-line alignment is not a good idea.
> 
> Intra-line alignment not a good idea?
> 
> You mean things like:
> 
> check("foo",    previous, current);
> check("wibble", current,  next);
> check("parf",   next,     previous);

I wouldn't be caught dead writing like that.  In any event, I think Dale 
meant something more like:

someReallLongeMethodNameWithManyArguments(aReallyLongArgument,
                                           anotherLongArgument,
                                           theLastArgument);
doOtherStuff();
...
...

Sometimes I do it as shown above, and other times I do it like this:

someReallLongeMethodNameWithAlotOfArguments(
         aReallyLongArgument, anotherLongArgument, theLastArgument);
doOtherStuff();
...
...

I haven't settled on a pattern for doing so, but the latter is becoming 
more prevalent in my code because it is immune to changes in the method 
name and parameter name lengths.

> 
> That sounds like one of Dale's more radical ones ;-)
> 
> Call me "anally retentive" - but isn't that useful in conjunction with
> block-editing?

I've yet to find a need for block editing (particularly in Java code), 
but I won't go so far as to say that others don't need it.

Jim S.
Technical Details
Message-ID: <3D46DAF3.1070507@abraxis.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3
References: <55e900c9.0207231412.2ca51206@posting.google.com> <55e900c9.0207241438.53b31b98@posting.google.com> <ahnekk$u87k0$1@ID-76405.news.dfncis.de> <55e900c9.0207250455.2363cfcd@posting.google.com> <ahsd0s$vm2qr$1@ID-76405.news.dfncis.de> <55e900c9.0207271826.36013481@posting.google.com> <GzyH4r.2yJ@bath.ac.uk> <55e900c9.0207281914.20261d1c@posting.google.com> <H00310.Kr9@bath.ac.uk> <3d457627@news.tce.com> <kc2bku0b9f9490j6d4c2s0jo8h9dubbvg5@4ax.com> <3d46c8c0@news.tce.com> <H02oIJ.Jyx@bath.ac.uk>

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-30 12:05:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3
From: Jim Sculley <niceguy@abraxis.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: Tue, 30 Jul 2002 14:29:07 -0400
Organization: http://extra.newsguy.com
Lines: 53
Message-ID: <3D46DAF3.1070507@abraxis.com>
References: <55e900c9.0207231412.2ca51206@posting.google.com>   <55e900c9.0207241438.53b31b98@posting.google.com> <ahnekk$u87k0$1@ID-76405.news.dfncis.de> <55e900c9.0207250455.2363cfcd@posting.google.com> <ahsd0s$vm2qr$1@ID-76405.news.dfncis.de> <55e900c9.0207271826.36013481@posting.google.com> <GzyH4r.2yJ@bath.ac.uk> <55e900c9.0207281914.20261d1c@posting.google.com> <H00310.Kr9@bath.ac.uk> <3d457627@news.tce.com> <kc2bku0b9f9490j6d4c2s0jo8h9dubbvg5@4ax.com> <3d46c8c0@news.tce.com> <H02oIJ.Jyx@bath.ac.uk>
NNTP-Posting-Host: p-826.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0rc1) Gecko/20020417
X-Accept-Language: en-us, en