Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: looping through a list, starting at 1 Date: Wed, 03 Aug 2011 21:10:46 -0400 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: <8djj37pg6o35jb1b8lskefb4jmb2iadmbe@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 4 Aug 2011 01:11:19 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="f8igmItKsWs6nM5YanFxAA"; logging-data="29392"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2wSXEZC3lcLHp9KHpjC3J" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: <8djj37pg6o35jb1b8lskefb4jmb2iadmbe@4ax.com> Cancel-Lock: sha1:vzlWumHwWRv7xq6+sibNHRORCuY= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6783 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 I think you mean i++ not ++i. Say what? Or, rather, say why? -- Eric Sosman esosman@ieee-dot-org.invalid