Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: Map coordinate cleanups.
Home

[Freeciv-Dev] Re: Map coordinate cleanups.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jason Dorje Short <jshort@xxxxxxxxxxxxx>
Cc: Gaute B Strokkenes <gs234@xxxxxxxxx>, Trent Piepho <xyzzy@xxxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Map coordinate cleanups.
From: Kevin Brown <kevin@xxxxxxxxxxxxxx>
Date: Thu, 16 Aug 2001 14:24:45 -0700

Jason Dorje Short <jshort@xxxxxxxxxxxxx> wrote:
> I think any benefit players may get from extra speed is more than
> negated by the extra work developers have to do to use a macro for these
> functions.  Thus I agree that there is no _good_ reason to make it a
> macro.
> 
> In summary, I don't think these functions should be made macros. 
> Efficiency must be balanced with code cleanliness.

In any case, efficiency is often made up for by Moore's Law, while
code cleanliness isn't.  :-)


-- 
Kevin Brown                                           kevin@xxxxxxxxxxxxxx

    It's really hard to define what "unexpected behavior" means when you're
                       talking about Windows.


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