# object dating

"Walter A. Aprile" (aprile@nl.cs.cmu.edu)
Mon, 11 Sep 1995 14:09:01 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    Linda Polin scribbles :
    #
    #Is there a way to tell the date/time a player's objects were created or
    #last modified? Obj#'s recycle and so numerical order doesn't work.
    #

    If you want to implement it, I can think right now of a couple of
    ways :

    1) have creation and edit operations add a note to the log
     Good : secure
     Bad  : bloats the log and forces you to keep _all_ the logs

    2) add a couple of properties on the root class, such as
     .created and .modified (this could be a list) and have all the
     creation and edit operations write on them
     Good : tidy, in-db,easy to inspect
     Bad  : bloats the database

    Hope this helps, Walter