Re: constant functions

From: Adam Krolnik (adamk@cyrix.com)
Date: Thu Jul 23 1998 - 23:35:37 PDT


Good afternoon Karen,

I understand your apprehension, however recommendations for duplication
of code make me apprehensive. Someone now has to recognize that two
functions have exactly the same coding and require a fix to be implemented
twice.

Your recommendation is exactly the same as I have proposed - but without requiring
the user to do it manually!

Side effects can also occur if one uses local state computed from a previous
call. Are you then going to check for all local variables initialized (written)
before being read to ensure no side effects?

<p> Adam



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:52:58 PDT and
sponsored by Boyd Technology, Inc.