Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] libstate changes

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Martin Ruderer <martin AT lddd.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] libstate changes
  • Date: Thu, 13 May 2004 21:24:59 +0200

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




Archive powered by MHonArc 2.6.24.

Top of Page