cohill@vtserf.cc.vt.edu (Andrew M. Cohill) (07/31/90)
Just out of curiousity, and partly as a sanity check, I was wondering how others might put together a set of classes/objects to deal with bibliographic data. We needed a quick and dirty little database to simulate a server in a client-server simulation we are doing (we are mostly interested in the client part), and used library type data. A record consists of a title, one or more authors, and several subject words or phrases. We initially used just a set of nested arrays, but found that pulling things out of arrays that might be nested three or four deep seemed rather slow. My interest is partly in style: how do others deal with "quick and dirty" needs? Do you take the time to define a full set of classes, even if you think they won't get much use elsewhere, or do you kludge together objects out of existing stuff?