Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: [PATCH] Corecleanup_07Part2 has been put in incoming
Home

[Freeciv-Dev] Re: [PATCH] Corecleanup_07Part2 has been put in incoming

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: Gaute B Strokkenes <gs234@xxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Corecleanup_07Part2 has been put in incoming
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 1 Sep 2001 11:53:34 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sat, Sep 01, 2001 at 05:10:54AM -0400, Jason Dorje Short wrote:
> Gaute B Strokkenes wrote:
> > 
> > On Thu, 30 Aug 2001, gs234@xxxxxxxxx wrote:
> > 
> > > When I get back from work I intend to change is_real_tile()
> > > IS_VALID_POS(), on the grounds that it tests a coordinate pair
> > > rather than a tile pointer, and because a position if valid iff it
> > > refers to a tile on the map.  I will change normalize_map_pos() to
> > > always adjust the x coordinate, and then I will add a IS_SANE_POS()
> > > to test whether a position refers to a tile on the map and is in
> > > canonical form.
> > 
> > And here it is.
> 
> The naming varieties here are really getting out of hand.
> 
> First of all, I think we all agree on using "map_pos" instead of
> "tile".  Perhaps "POS" would work instead, but why introduce it?  You
> also use the "tile" naming immediately after you explained the other day
> why it was wrong (and I agree with you).
> 
> You use VALID to mean the same thing as real, use SANE to mean the same
> thing as normal/proper, then use real to mean the same thing as
> normal/proper (in nearest_real_tile).
> 
> We've had this argument for so long that I don't think anyone really
> cares about it anymore, but...at least lets be consistent with the
> naming.  If we can't agree on anything else, let's go with "valid"
> (instead of what is currently "real") and "proper" (instead of what is
> currently "normal").  But lets change them all at once, and keep them
> the same throughout.

I vote for "real" and "normal" with the obvious meanings ;)

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Your mail could not be delivered to the following Address:
  VTCMC.VTLPR@xxxxxxxxxxxxx        ** Unassigned error message **"


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