Path: csiph.com!usenet.pasdenom.info!news.albasani.net!news.mixmin.net!hq-usenetpeers.eweka.nl!81.171.88.15.MISMATCH!eweka.nl!lightspeed.eweka.nl!213.73.255.4.MISMATCH!multikabel.net!newsfeed20.multikabel.net!post40.multikabel.net!cache70.multikabel.net!not-for-mail From: "Skybuck Flying" Newsgroups: alt.comp.lang.borland-delphi,comp.lang.c,comp.lang.java.programmer References: <44ccr7tidpk4jta4lhg7m954vdr7abvnte@4ax.com> <1k2dr7527p5reqegfr8oln65q55bmvo4ar@4ax.com> In-Reply-To: <1k2dr7527p5reqegfr8oln65q55bmvo4ar@4ax.com> Subject: Re: Oracle/Google demonstrate human beings cannot write 10 lines of code without making a mistake ;) Date: Sat, 19 May 2012 21:01:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 Message-ID: <67485$4fb7edfe$5419acc3$16334@cache70.multikabel.net> X-Complaints-To: abuse@ziggo.nl Organization: Ziggo Lines: 45 NNTP-Posting-Host: 84.25.172.195 (84.25.172.195) NNTP-Posting-Date: Sat, 19 May 2012 21:01:18 +0200 X-Trace: 674854fb7edfef1bc096616334 Xref: csiph.com comp.lang.c:21040 comp.lang.java.programmer:14652 "Gene Wirchenko" wrote in message news:1k2dr7527p5reqegfr8oln65q55bmvo4ar@4ax.com... On Fri, 18 May 2012 12:25:28 +0100, rossum wrote: >On Thu, 17 May 2012 15:09:23 +0200, "Skybuck Flying" > wrote: > >>It's a bit unlikely that two programmers make the exact same dumb mistake >>! >>;) " It happens so often that we have a name for it. It is called an off-by-one error or a fencepost error. OK, *two* names. " True "off by one" is a common mistake. However in this case, assuming it was a mistake, both programmers would have made the same mistake in exactly the same code, at exactly the same position. Now that's a bit unlikely isn't it ?! ;) Mistakes with > or >= are usually random, and not at a fixed position. >>So the funny part is, the bugs in it kinda prove that it was copied ! ;) >Common errors are often used as legal proof of copying. Many >encyclopaedias and directories include deliberate errors for just that >reason. " Maps, too. I once got a bit lost before I realised that the road I was looking for did not exist. " No comment. Bye, Skybuck ;) :)