From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5cb36983754f64da X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-10 18:01:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Call for Ada References: <20040206174017.7E84F4C4114@lovelace.ada-france.org> <54759e7e.0402071124.322ea376@posting.google.com> <406EB6D2.8030801@noplace.com> <87d66pyw1g.fsf@insalien.org> <406EEC35.7040109@noplace.com> <874qs0zvy1.fsf@insalien.org> <40714C98.90601@noplace.com> <1073gv22t969q5a@corp.supernews.com> <40729B9D.30906@noplace.com> <1076000ef5oj06f@corp.supernews.com> <0emdncWNfbOyUendRVn-gg@gbronline.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sun, 11 Apr 2004 01:01:17 GMT NNTP-Posting-Host: 63.184.104.14 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1081645277 63.184.104.14 (Sat, 10 Apr 2004 18:01:17 PDT) NNTP-Posting-Date: Sat, 10 Apr 2004 18:01:17 PDT Xref: archiver1.google.com comp.lang.ada:6963 Date: 2004-04-11T01:01:17+00:00 List-Id: Wes Groleau wrote: > Scenario: Two 100,000 SLOC collections. > One in Ada, with (hope, hope) 1 error per 100 SLOC > One in C, with 10 per 100 SLOC At least 2 studies indicate that Ada reduces errors by a factor of 4. > Assume an Ada programmer can find and fix a bug > in a day, while the C guy takes two. The same studies indicate that Ada reduces the time/cost to fix an error by a factor of 10. > There are a hundred C hackers and 5 Ada hackers. There are 100s of 1000s of C hackers. There are many Ada software engineers, but I'll accept 5 as the the number of Ada hackers :) So, if Ada actually has 1 error per 100 LOC, then real numbers indicate 1000 errors in the Ada and 4000 in the C. If it actually takes 1 day to correct an error in the Ada, then real numbers indicate that it takes 10 days to correct an error in the C. So we get 1000 person-days/5 people = 200 days for Ada, and 40000 person-days/100 people = 400 days for C. Ada still wins. I haven't seen any data to support it, but I suspect that C introduces more new errors for every error fixed than Ada, giving Ada an even greater edge, for the same reasons that C creates more errors in the 1st place. -- Jeff Carter "Have you gone berserk? Can't you see that that man is a ni?" Blazing Saddles 38