Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: do you really want to work on the ~ (was: registry)
Home

[Freeciv-Dev] Re: do you really want to work on the ~ (was: registry)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Reinier Post <rp@xxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: do you really want to work on the ~ (was: registry)
From: Andrew Sutton <ansutton@xxxxxxx>
Date: Wed, 5 Dec 2001 11:24:27 -0500

On Wednesday 05 December 2001 11:01 am, Reinier Post wrote:
> There are many exits in the code; you have to restructure the code
> everywhere to make everything pass on the failure values and clean up
> the allocated memory as appropriate.  The joys of C.

i've always hated writing error handling. it's just not fun and not very 
interesting. it's not just C. it's everywhere.

> Now the ruleset format is undocumented and inadequate - it doesn't really
> support nested structures.  So perhaps it's better to use libxml2?
> libxml2 depends on libm (which Freeciv doesn't depend on I think)
> and libz, which Freeciv depends on for compression, but nothing else.

not a bad idea. although, for the life of me, i can't imagine what xml needs 
a math library for. oh... floating point. never mind. all xml configuration 
would be pretty nice.

andy


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