[Freeciv-Dev] Re: (PR#13460) consistent names for index-to-pointer looku
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13460 >
On Tue, 12 Jul 2005, Jason Short wrote:
> Honestly I don't mind having get_XXX_by_index for some objects and
> find_xxx_by_id for others; if nothing else this helps you remember which
> can be stored by pointer and which must use the ID.
I do mind. I would very much prefer a uniform namespace, for future
extensions to the delta code which may want to use these functions for
automatic translations of pointers to index and back.
- Per
|
|