Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #6788

Re: looping through a list, starting at 1

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Gene Wirchenko <genew@ocis.net>
Newsgroups comp.lang.java.programmer
Subject Re: looping through a list, starting at 1
Date Wed, 03 Aug 2011 21:22:41 -0700
Organization A noiseless patient Spider
Lines 26
Message-ID <0i7k37trtsprjh1jlkegf46cccg7moag09@4ax.com> (permalink)
References <list-20110802003845@ram.dialup.fu-berlin.de> <8djj37pg6o35jb1b8lskefb4jmb2iadmbe@4ax.com> <j1crjn$smg$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Injection-Info mx04.eternal-september.org; posting-host="7Qrvczazr82YckO5XW8Vtw"; logging-data="16632"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YU8rbn5MnNDQxnR+BWbwrb2SZq9JKrQc="
X-Newsreader Forte Agent 4.2/32.1118
Cancel-Lock sha1:K2X3mGW4gvPQ8+JkUJ4RfK99QtQ=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6788

Show key headers only | View raw


On Wed, 03 Aug 2011 21:10:46 -0400, Eric Sosman
<esosman@ieee-dot-org.invalid> wrote:

>On 8/3/2011 6:40 PM, Roedy Green wrote:
>> On 1 Aug 2011 22:45:41 GMT, ram@zedat.fu-berlin.de (Stefan Ram) wrote,
>> quoted or indirectly quoted someone who said :
>>
>>> for( int i = 1; i<  l.size(); ++i ){ final E e = l.get( 0 ); ... }
>>
>> This one is clearer. The problem is most people will just glance at it
>> and read it as for( int i=0; i<l.zise(); i++ )
>
>     Soundz!  Can beingz unable to diztinguizh onez from seroez exizt
>outzide of sooz?

     Mr. Zozman, pleaze do not make fun of Roedy.

>> I think you mean i++ not ++i.
>
>     Say what?  Or, rather, say why?

     Add me to the list of those asking why.

Sincerely,

Gene Wirchenko

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: looping through a list, starting at 1 Roedy Green <see_website@mindprod.com.invalid> - 2011-08-03 15:40 -0700
  Re: looping through a list, starting at 1 Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-03 20:53 -0300
  Re: looping through a list, starting at 1 Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-08-03 21:10 -0400
    Re: looping through a list, starting at 1 Gene Wirchenko <genew@ocis.net> - 2011-08-03 21:22 -0700
  Re: looping through a list, starting at 1 "John B. Matthews" <nospam@nospam.invalid> - 2011-08-03 23:36 -0400
    Re: looping through a list, starting at 1 RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-08-04 09:37 +0100
      Re: looping through a list, starting at 1 Chris Riesbeck <Chris.Riesbeck@gmail.com> - 2011-08-04 12:47 -0500
        Re: looping through a list, starting at 1 markspace <-@.> - 2011-08-04 11:27 -0700
          Re: looping through a list, starting at 1 Patricia Shanahan <pats@acm.org> - 2011-08-04 13:58 -0700
            Re: looping through a list, starting at 1 markspace <-@.> - 2011-08-04 14:36 -0700
              Re: looping through a list, starting at 1 Patricia Shanahan <pats@acm.org> - 2011-08-04 14:46 -0700
                Re: looping through a list, starting at 1 RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-08-05 10:09 +0100
                Re: looping through a list, starting at 1 Gene Wirchenko <genew@ocis.net> - 2011-08-05 14:46 -0700
            Re: looping through a list, starting at 1 Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-08-04 20:51 -0400
              Re: looping through a list, starting at 1 Tim Slattery <Slattery_T@bls.gov> - 2011-08-05 08:38 -0400
          Re: looping through a list, starting at 1 Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-05 10:22 +0000
  Re: looping through a list, starting at 1 Lew <lewbloch@gmail.com> - 2011-08-10 09:05 -0700

csiph-web