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=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,350d56069dc98b72 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,350d56069dc98b72 X-Google-Attributes: gidf43e6,public X-Google-ArrivalTime: 1994-10-28 21:24:29 PST Path: nntp.gmd.de!xlink.net!fauern!news.th-darmstadt.de!News.Uni-Marburg.DE!news.belwue.de!news.dfn.de!swiss.ans.net!newsgate.watson.ibm.com!watnews.watson.ibm.com!ncohen From: ncohen@watson.ibm.com (Norman H. Cohen) Newsgroups: comp.lang.ada,comp.software-eng Subject: Re: Lines of documentation per LOC Date: 27 Oct 1994 14:55:57 GMT Organization: IBM T.J. Watson Research Center Distribution: world Message-ID: <38of1t$mo6@watnews1.watson.ibm.com> References: <1994Oct25.170005.27711@sei.cmu.edu> <1994Oct26.094543.24213@sei.cmu.edu> Reply-To: ncohen@watson.ibm.com NNTP-Posting-Host: rios8.watson.ibm.com Xref: nntp.gmd.de comp.lang.ada:16283 comp.software-eng:19318 Date: 1994-10-27T14:55:57+00:00 List-Id: In article <1994Oct26.094543.24213@sei.cmu.edu>, lpb@sei.cmu.edu (Loic Briand) writes: |> The problem is that when you have a client who ask for |> 10 lines of doc par LOC and you have budgeted 0.1 (based on the expected |> complexity of your code), you have to prove your point. What idiocy! This is a fine incentive to start writing Ada code like for I in L'Range(1)loop for J in R'Range(2)loop Res(I,J):=0.0; for K in L'Range(2)loop Res(I,J):=Res(I,J)+L(I,K)*R(K,J);end loop;end loop;end loop; instead of for I in Left'Range(1) loop for J in Right'Range(2) loop Result(I, J) := 0.0; for K in Left'Range(2) loop Result(I, J) := Result(I, J) + Left(I, K) * Right(K, J); end loop; end loop; end loop; -- (unless, -- of -- course, -- you -- write -- your -- comments -- like -- this). -- Norman H. Cohen ncohen@watson.ibm.com