Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Joshua Cranmer Newsgroups: alt.comp.lang.borland-delphi,comp.lang.c,comp.lang.java.programmer Subject: Re: Oracle/Google demonstrate human beings cannot write 10 lines of code without making a mistake ;) Date: Mon, 21 May 2012 10:05:02 -0400 Organization: A noiseless patient Spider Lines: 12 Message-ID: References: <29308868.1994.1337265697084.JavaMail.geo-discussion-forums@pbcuc6> <84131$4fb54067$5419acc3$20839@cache90.multikabel.net> <4fb97103$0$293$14726298@news.sunsite.dk> <2fedf$4fb9fc61$5419acc3$22636@cache1.tilbu1.nb.home.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 21 May 2012 14:05:22 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="DjJqN7rRZ903Lb3T9Xli4g"; logging-data="25454"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Zz99nznS+TkGHMkj25/3hs1PvPexSGfo=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: <2fedf$4fb9fc61$5419acc3$22636@cache1.tilbu1.nb.home.nl> Cancel-Lock: sha1:rM0LpJMeWW+nymBB9WVd4bjhDQA= Xref: csiph.com comp.lang.c:21131 comp.lang.java.programmer:14736 On 5/21/2012 3:40 AM, Skybuck Flying wrote: > Not necessarily, only if the programmer was being very thorough and has > the time to do so. > > The programmer might skip over things which he/she thinks are obvious. Ranges having an inclusive start and an exclusive end are the most common type of range in languages with 0-based arrays. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth