Message 49

Re: philosophical problem ;)

X-Added: With Flames (bblib $Revision: 1.4 $)
Return-path: <spapadim+@cs.cmu.edu>
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: from po0.andrew.cmu.edu via trymail for bb+academic.cs.15-721@andrew.cmu.edu
          ID </afs/andrew.cmu.edu/usr0/bb/Mailbox/wvj=v3C00UdY47qk4k>;
          Thu,  4 Oct 2001 15:55:47 -0400 (EDT)
Received: from mx3.andrew.cmu.edu (MX3.ANDREW.CMU.EDU [128.2.10.113])
        by po0.andrew.cmu.edu (8.9.3/8.9.3) with ESMTP id PAA02007
        for <bb+academic.cs.15-721@ams.andrew.cmu.edu>; Thu, 4 Oct 2001 15:55:46 -0400 (EDT)
Received: from iluvatar.dhs.org (pool-151-201-19-40.pitt.east.verizon.net [151.201.19.40])
        by mx3.andrew.cmu.edu (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id f94JtkbT006889
        for <bb+academic.cs.15-721@andrew.cmu.edu>; Thu, 4 Oct 2001 15:55:46 -0400
Received: from cs.cmu.edu (iluvatar.hobbiton.cmu.edu [192.168.0.2])
        by iluvatar.dhs.org (Postfix) with ESMTP
        id A762920538; Thu,  4 Oct 2001 15:55:45 -0400 (EDT)
Message-ID: <3BBCBEC1.9090107@cs.cmu.edu>
Date: Thu, 04 Oct 2001 15:55:45 -0400
From: Spiros Papadimitriou <spapadim+@cs.cmu.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010808
X-Accept-Language: en-us
MIME-Version: 1.0
To: deepay@cs.cmu.edu
Cc: bb+academic.cs.15-721@andrew.cmu.edu
Subject: Re: philosophical problem ;)
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I will not answer this, but will add two more things... :-)

For the first question (ie. what should nextRecord()
return for an empty page, ie. after firstRecord() returns
DONE):  What should nextRecord() return if it is
called again *after* returning DONE?  

For the second question:  What does rid contain?
Was it reused?  What does the default constructor
for RID do (I think the API could be better again)?
I think this is more than one possible error condition
here (or none--should nextRecord() care about
where the rid it was given originated from?)...

Not that any of this really matters either! :-)

Spiros