Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about deleted records

 
Eric Chang
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my assignment (URLyBird), I have to mark a two byte deletion flag to determine if a record has been deleted or not. Now, a newly created record could take the same space in the data file as a deleted record.
Now my question is, do I need to implement anything to actually "clean" up the file at some time? Or rather, perhaps I should phrase it as "should I implement" something that cleans up the file (as this does not seem to be a MUST) so if no created record has taken the place of this record, to remove that record entirely from the datafile?
After thinking about it for a bit, I thought that I wouldn't bother as this was not a MUST in my assignment, and creation of records is not something that the client would be able to do anyway (again, not a MUST). Any opinions on the matter?
 
Omar Kalaldeh
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eric,
I don't think you should implement such thing, and personally I don’t think you get extra mark for doing it. Stick with requirements it’s always better.
 
Eric Chang
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that's kind of what I figured.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic