On Fri, Nov 08, 2002 at 05:30:00PM +0100, Paul Johnson wrote: > On Fri, Nov 08, 2002 at 03:04:16PM +0000, Nicholas Clark wrote: > > On Fri, Nov 08, 2002 at 08:22:17PM +1100, Damian Conway wrote: > > > The name of the property is still under debate. Larry favours: > > > > > > sub square ( Num $n ) is same {...} > > > > > > whereas others feel that: > > > > > > sub square ( Num $n ) is memoized {...} > > > > > > is more appropriate. > > > > We're looking for a word that tersely expresses >has_no_side_effects_and_can_safely_have_its_results_cached_based_on_parameter_types_and_values_and_calling_context > ? > > The functional programmers will tell you that word would be "pure".
I like "memoize" only because perl has made me used to the term. But "pure" works too. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]