On Tue, Jul 13, 2010 at 5:02 PM, Arjang Assadi <[email protected]> wrote: > Greetings, > > I am trying to factor out the qry from GetAll and reuse it (instead of > copy and pasting ) in GetAllContaining(needle). > Here is the code: (any other points is also welcomed :)
I don't know much about anything but that general pattern (SelectAll, SelectOnSomeBasis) of non-dependance seems fine to me. It's how I structure things anyway. I don't see the need to, say, have SelectOnSomeBasis first call 'SelectAll' and then manually filter *that* list. I suppose other people will disagree; but as far as I'm concerned, it seems okay ( trying to put aside the fact that you're not using llblgen ... :P ) [...] > Arjang -- silky Every morning when I wake up, I experience an exquisite joy — the joy of being this signature.
