[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]
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
[Freeciv-Dev] Re: Column@Apolyton: #204 Talking with Sid and Soren,
Raimar Falke <=
|
|