This is my response to this week’s Flashback Track Friday prompt, where we were just asked:
What’s on your mind?
Okay. You asked for it. You know I spend my days writing computer apps, right?
Well, the current app is meant to record medical results. I conceived it for blood tests, but it should work for any type of result. The example I’ll show is for Diastolic Blood Pressure. I’m assuming you all know that’s one of two overall blood pressure values.
The app is basically written, though it’s rough around the edges. Just like any piece of writing it needs some polishing to smooth it out, before it’s safe for anybody to see it.
So Wednesday I was looking at this screen:
This is where the user sets all these results up. They type in units, a range etc. Ignore the actual numbers you see – they were just to prove that the thing was storing and retrieving values correctly. But this is pretty much how I want the screen to look.
You can imagine that there are probably 1,000 lines of code behind it.
Anyway, as part of the smoothing process, I was looking at the code the other day, and it is a real pig’s ear. Okay… not total trash, but badly organised. I thought of a big way it could be better. Pondering for probably a half day, I decided that the best thing was to rewrite the screen altogether.
That’s not as bad as it sounds – I can cherry-pick a lot of what is already written – but it’s still a pretty big task. It’ll take me the next week. But I want to get things right. I’m fortunate that “time to market” isn’t really a factor here. A week now will save me a month later.
I’m up to here:
and currently on my mind is “this was a really bad idea, wasn’t it?”