Posted by kalpol on July 12, 2001 at 23:37:46:
In Reply to: thoughts on project 2 posted by NR on July 12, 2001 at 22:59:45:
you're thinking along almost exactly the same lines as I am, so that's encouraging. I personally don't like pairs very much, just because I get tangled up in them. i'm making my own objects with a foo and whatever data needs to go along with it. i haven't thought this through all the way yet, but it seems that if I create two data structures, one with a foo and one without but otherwise identical, then I can take care of the problem of not actually creating a foo when a process asks for one.