March 18

More Insights on the Hobbit Walk

This is sort of in line with my previous post, as I was a little frustrated (with myself) that I’d not had any progress on the Hobbit Walk (there’s another reason, too).

Anyway, on to what I’ve found.

First, it’s a little frustrating to name a race.  Naming is one of the hardest tasks there is… well, besides cache invalidation.  I should be able to dynamically set the name of the race, because I’ve already stored the list of participants.  I kept teetering between dynamic versus static naming.  Ultimately, though, it seems like static (or maybe “arbitrary” would be more apt) naming.

Second, it’s nice to know who created the race.  Right?  That allows explicit listing of the races I’ve created, allowing “creator” permissions (like deleting them).  Maybe I’m waiting on the other person to accept (which I may not have considered yet).  Or I want to see all of my races, including all the ended ones.

Third, sometimes I try to normalize the data too much.  This one’s another tough one.  When I started working on TTORP, I had very non-normalized data: I wanted to get something up and running fast, so I just threw a bunch of arbitrarily-named fields in a database, all of which were just text… I was bit by this laziness later, because I had to pay the technical debt.

I found all kinds of other little things in the process.  Countless little nuances that I could spend all night enumerating, finding even more in the process.

Anyway, the bottom line is that I’ve made progress.  I’ve got more information in my test database, which will help me to visualize things.  At this point, unless I find more problems, I should be able to start spitting out some progress information in the very near future.  Stay tuned!



Copywronged © 2014. All rights reserved. Or maybe a few. But probably not many. Maybe none.

Posted March 18, 2015 by Slaughter in category "Code", "Health", "Hobbit Walk", "Software Development