[SM-Discuss] libstate changes

Martin Ruderer martin at lddd.org
Thu May 13 15:24:59 EDT 2004


On Thu, 13 May 2004 12:15:52 -0700
Andrew <afrayedknot at thefrayedknot.armory.com> wrote:

> Theres a couple of ways I can do this:
> 1) modify every function to have an extra argument somewhere, then fix
> all the callers to do the right thing.

You could do so but I don't really see the advantages in not having the
wrapper function. It does neither improve clarity nor should it have an
impact on speed.

> 2) like 1 but rename the functions, and keep the existing functions as
> wrappers that use DEPENDS_STATUS 

I'd go for that. (And I've been doing so in sorcery before)

> 3) change the value of DEPENDS_STATUS before calling the function

I'd strongly encourage the use of that one. 


my 2 cents. ;-)
-- 
Martin



More information about the SM-Discuss mailing list