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-03 07:06:34 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: 3 Apr 2002 07:06:34 -0800 Organization: http://groups.google.com/ Message-ID: <4519e058.0204030706.7bd0ed6c@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> NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017846394 24188 127.0.0.1 (3 Apr 2002 15:06:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Apr 2002 15:06:34 GMT Xref: archiver1.google.com comp.lang.ada:22052 Date: 2002-04-03T15:06:34+00:00 List-Id: Juanma Barranquero wrote in message news:... > On 2 Apr 2002 10:30:14 -0800, dennison@telepath.com (Ted Dennison) > wrote: > > >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. > > I somewhat suspected this was going to end in a discussion > about the line-counting method used... Using yours, no doubt more I know. I wouldn't have brought it up, except that: o An intellectually dishonest person (*not* you of course) could hardly have found a better way to create themselves huge SLOC counts. Since you were honest enough to report your method, I figured you'd care about such perceptions. o If that is how you are counting, I have no clue what your numbers mean, because they bear no relation to numbers I am used to looking at. > Well, your original argument was that porting NetHack to Ada was easy, > and even if the sources are 85K SLOCs it is still a very large project > for just one programmer to undertake as a hobby. I think you're > severily underestimating NetHack's size and complexity. Looking over this thread, I suspect we are talking about two different things. I won't argue that hand-porting all the existing C code for the current version of nethack would be a lot of work. However, making a simple hack-like game that runs would be fairly easy. The way OpenSource (Bazaar) projects work (I'm using the ESR terminology, because he's the one who came up with the Cathedral & Bazaar theory), you don't try to do the whole thing in one go (Cathedral-style). You make something small that is interesting and runs, release it, then incrementally improve it. The better it gets, the more people who use it. The more people who use it, the more who will want to help improve it. The more it gets improved, the more people use it. etc. So ideally, things snowball on their own from a relatively small initial individual investment. Sure, this process won't net you *the* Nethack. But trying to hand-port it won't either. By the time you could get done with it, the C codebase would have moved on. -- T.E.D. Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) Homepage - http://www.telepath.com/dennison/Ted/TED.html