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,41100a78496a4c71 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-05 06:43:13 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dennison@telepath.com (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: Nethack! (was): AdaGames Date: 5 Apr 2002 06:43:13 -0800 Organization: http://groups.google.com/ Message-ID: <4519e058.0204050643.30f2e516@posting.google.com> References: <98104da8.0203280310.143a1c18@posting.google.com> <4519e058.0203290613.73b55af4@posting.google.com> <6g4gaugv9a85i56kvgcgmu4h2jkjprutec@4ax.com> <4519e058.0204010704.ed2cd06@posting.google.com> <4519e058.0204021030.14127b06@posting.google.com> <4519e058.0204030750.78a30287@posting.google.com> <3CAC7AC6.A6DBDC32@despammed.com> NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1018017793 10183 127.0.0.1 (5 Apr 2002 14:43:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Apr 2002 14:43:13 GMT Xref: archiver1.google.com comp.lang.ada:22149 Date: 2002-04-05T14:43:13+00:00 List-Id: Wes Groleau wrote in message news:<3CAC7AC6.A6DBDC32@despammed.com>... > > I once ran a comparison between raw SLOC, semicolons and Halstead bits on a > > large body of Ada code. The correlation between them was so close as to make > > the method of counting pretty much irrelavent. The secret is to pick your > > This is true as long as the programmers were not > thinking that there would be any reward or punishment > for a higher or lower count. Take a well-written > module of a reasonable size in any language, and there > are usually ways to greatly change the metric without > changing behavior. The first project I worked on out of school used "statement count" (essentially ";"s, but declarations didn't count) for predicting code size and tracking progress during development. When I noticed that people were being harrassed based on how the metric came out every week, I sort of rebelled (I know, you're thinking, "surely not *you* Ted?"). For about a month I added and deleted "null;" statements to my code every week to make the count for every unit come in conspicuously *perfect*. Then there was the week I decided to refactor several badly designed units, and got a visit from a bemused team lead mock-castigating me for making *negative* progress that week. :-) -- T.E.D. Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) Homepage - http://www.telepath.com/dennison/Ted/TED.html