[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #15690] Refactor /MISSING subcommands.
From: |
Benjamin Levy Pfaff |
Subject: |
Re: [bug #15690] Refactor /MISSING subcommands. |
Date: |
Tue, 26 Sep 2006 17:02:43 -0700 |
User-agent: |
Internet Messaging Program (IMP) 3.2.7 |
Quoting John Darrington <address@hidden>:
> It sounds like your idea is essentially the same as mine. In your
> approach the predicate function takes more variables, whereas mine
> relies on static data. Avoiding static data is of course a good
> thing. The price however would be complicating the user interface of
> the casereader_get_reader function, since all the variables etc would
> have to be passed into it. A compromise would be to have a single
> void *aux parameter, but that too is not without its disadvantages.
I'm not sure I understand why it's a good idea to integrate this into the
casereader. If you don't, then you just do a loop around the function that
gets a case, which isn't really a big deal (is it?) and you don't have to
worry about static data at all.