Programming? Me?
I dreamed I was writing a game, and in the process I was normalizing the data tables for said game. I don’t know now what I was creating; other than I had location tables, Time or Turn tables and an Entity table that had surprisingly little data in it. One of the tables had Time, Location, Entity fields in it. All three keys made up a combined primary key. (Each entity could only exist in one place at one time.)
I was thinking the table would have to be huge, but then realized that if you only had one time and location with an entity; it could just sit there until it was picked up or its schedule was somehow changed. You wouldn’t be able to know where something was by simply querying the DB, but you could figure it out in the program by looking backwards to its last known location.
FF
0 Comments:
Post a Comment
<< Home