November 19, 2012
MarkBernstein.org
 

Technical Debt

I’ve been spending a lot of time lately on planes and in sickrooms, worrying about everything that can be worried about, and also about some things that they tell me cannot be worried about.

I am determined to prove them all wrong.

But, while doing all that, I worried a little bit about the ragged logic in the Tinderbox 6 map’s click handler. This works fine right now, but the code has a few too many conditionals:

if (part==kMapInBody) { ..... }

if (part==kMapInPrototypeTab) {...}

if (part==kMapInBadge) {...}

So, now that we’ve got the apparent hard disk failures licked and we’ve got the new Tinderbook Sandy set up, let’s tear down maps again and rebuild them a little better.