Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #9012
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.lightlink.com!news.iecc.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe20.iad.POSTED!83aa503d!not-for-mail |
|---|---|
| From | Daniel Pitts <newsgroup.nospam@virtualinfinity.net> |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: naming convention |
| References | <iviu97l56qk00qhu8vtmb471l6slhv294v@4ax.com> |
| In-Reply-To | <iviu97l56qk00qhu8vtmb471l6slhv294v@4ax.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Lines | 19 |
| Message-ID | <NlInq.2903$cK3.2180@newsfe20.iad> (permalink) |
| X-Complaints-To | abuse@newsrazor.net |
| NNTP-Posting-Date | Wed, 19 Oct 2011 22:40:45 UTC |
| Date | Wed, 19 Oct 2011 15:40:45 -0700 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9012 |
Show key headers only | View raw
On 10/19/11 3:19 PM, Roedy Green wrote: > I write a lot of code of this form: > > 1. method that reads all files in a set one at a time > 2. method the processes contents of one file, scanning for chunks > 3. method that processes one chunk. > > There are basically two types: read only and read-modify. > > It should be a design pattern. > > My question is, what naming convention do you use so that when methods > are listed alphabetically they group logically? > Methods group logically if they are in the right class. Alphabetizing them within the class should have no effect on the logic of their grouping. Alphabetizing them across classes is insanity.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
naming convention Roedy Green <see_website@mindprod.com.invalid> - 2011-10-19 15:19 -0700
Re: naming convention Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-19 15:40 -0700
Re: naming convention markspace <-@.> - 2011-10-19 16:09 -0700
Re: naming convention Lew <lewbloch@gmail.com> - 2011-10-19 18:53 -0700
Re: naming convention markspace <-@.> - 2011-10-19 19:30 -0700
Re: naming convention Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-10-20 06:42 -0300
Re: naming convention Travers Naran <tnaran@gmail.com> - 2011-10-20 07:23 -0700
Re: naming convention Tom Anderson <twic@urchin.earth.li> - 2011-10-20 20:42 +0100
csiph-web