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-02 10:30:14 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: 2 Apr 2002 10:30:14 -0800 Organization: http://groups.google.com/ Message-ID: <4519e058.0204021030.14127b06@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> NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017772214 18961 127.0.0.1 (2 Apr 2002 18:30:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Apr 2002 18:30:14 GMT Xref: archiver1.google.com comp.lang.ada:22006 Date: 2002-04-02T18:30:14+00:00 List-Id: Juanma Barranquero wrote in message news:... > On 1 Apr 2002 07:04:08 -0800, dennison@telepath.com (Ted Dennison) > wrote: > > >Seeing as I had a version running on a 256K Amiga 17 years ago, I'd > >say *considerably* less than 200K SLOCS. > > I haven't got that line count out of thin air. I used "wc -l" on the > sources, and I didn't count the source of all ports, only /src, Interesting. I usually use "grep -c ";"" for SLOC counting. "wc -l" just counts newlines, which adds loads of whitespace and comment lines to the count. Perhaps for a typical C program (and nethack in particular) it won't make much difference. But for my typical Ada program, the "wc" method would more than double the count (I'm usually at about %50 comments, and that doesn't even count the blank lines.) -- T.E.D. Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) Homepage - http://www.telepath.com/dennison/Ted/TED.html