Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: RFC: an interface question
Home

[Freeciv-Dev] Re: RFC: an interface question

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: RFC: an interface question
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Sat, 1 Feb 2003 12:16:43 +0100

On Sat, Feb 01, 2003 at 02:09:55AM -0500, Jason Dorje Short wrote:
> For gen-topologies, Ross and I agree on 3 standard choices for topology: 
> isometric or not, north-south wrapping or not, and east-west wrapping or 
> not.
> 
> This leads to a question of server interfaces.  One choice is:
> 
>   > help isometricmap
>   Option: isometricmap  -  set to have an isometric map
>   instead of the standard flat-earth one
>   Status: changeable
>   Value: 0, Minimum: 0, Default: 0, Maximum: 1
>   > help xwrap
>   Option: xwrap  -  Set to wrap in east-west direction
>   Status: changeable
>   Value: 1, Minimum: 0, Default: 1, Maximum: 1
>   > help ywrap
>   Option: ywrap  -  Set to wrap in north-south direction
>   Status: changeable
>   Value: 0, Minimum: 0, Default: 0, Maximum: 1
> 
> while the other is:
> 
>   > help maptype
>   Option: maptype  -  Map type or topology
>   Description:
>     0 = Flat_Earth              4 = iso Flat_Earth
>     1 = Standard (Wrap E-W)     5 = iso Standard (Wrap E-W)
>     2 = Neptune  (Wrap N-S)     6 = iso Neptune  (Wrap N-S)
>     3 = Torus World             7 = iso Torus World
> 
>   Status: changeable
>   Value: 1, Minimum: 0, Default: 1, Maximum: 7
> 
> ultimately it shouldn't matter much which interface is used, but the 
> fact is that this generally ties in closely with which backend is being 
> used.
> 
> My question, therefore, is: which interface is better/more 
> intuitive/easier to use?

IMHO the first one with each option prefixed with "map" or "topology"
or "maptop". If we at some point unify rulesets and server options the
first one is IMHO better. But this is only a weak argument.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Premature optimization is the root of all evil."
    -- D. E. Knuth in "Structured Programming with go to Statements"



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