Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Re: Column@Apolyton: #204 Talking with Sid and Soren
Home

[Freeciv-Dev] Re: Column@Apolyton: #204 Talking with Sid and Soren

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Column@Apolyton: #204 Talking with Sid and Soren
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 May 2002 14:17:52 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Thu, May 16, 2002 at 01:13:43PM +0200, Reinier Post wrote:
> >         The game is written is C++ and has "hundreds of thousands" of
> > lines of code. There are 70 or 80 modules and some individual ones have
> > 10,000 lines plus.
> 
> Freeciv:
> 
> % find ~/src/freeciv -name '*.[ch]' | wc
>     616     616   30531
> 
> (i.e. 616 .c and .h files)
> 
> % find ~/src/freeciv -name '*.[ch]' | xargs cat |  wc | sort -n | tail
>  213762  612095 6859974
> 
> (i.e. 213762 lines of code)

If freeciv would have 75 modules we would have 213762/75=2850 lines
per module. This isn't _this_ far from the 10,000+ max case.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  (On the statement print "42 monkeys"+"1 snake"): BTW, both perl and Python
  get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when 
  the answer is clearly "41 monkeys and 1 fat snake".  
    -- Jim Fulton, 10 Aug 1999


[Prev in Thread] Current Thread [Next in Thread]