Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: (PR#6442) gen5 wrapping
Home

[Freeciv-Dev] Re: (PR#6442) gen5 wrapping

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#6442) gen5 wrapping
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 9 Oct 2003 01:37:16 -0700
Reply-to: rt@xxxxxxxxxxxxxx

rwetmore@xxxxxxxxxxxx wrote:

> It is always good practice to *create* local variables for such things
> and cache the called result, so removing this behaviour is clearly bad.

If that is the case, why did you vigorously resist my attempt to put 
this data into its own variable?

Is saving a single instruction really so important that it has to be 
cached, at the expense of extra lines of code and less readibility?

jason




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