I suck at weekends

Posted on October 24, 2005 at 1:07 AM in 'Dear Diary' with tags 'weekend, photo_gallery, programming, cars'

I spent pretty much every waking hour this weekend reworking the photo gallery. What a sad way to spend my time off — doing exactly what I do every day when I am working.

It's interesting — even as I checked my watch and realized I had been sitting on my bed in front of a computer for 12 hours straight, it didn't feel like work. It was actually kind of exciting, and what kept me going was the desire to see the result. Perhaps it's pretentious, but it really did feel just like a sculptor must feel as he works. It was very satisfying to start with something rough and ugly and steadily refine it, seeing it take shape in your hands, and watching it slowly come to resemble what you have in your head.

The sad thing, though, is that since what I've been working on was the underpinnings of the code, you probably won't notice; in fact, if I've done my job well, you shouldn't be able to tell any difference at all.

It's kind of like a car: up until now, the photo gallery was like a stripped-down race car — from the outside, it looks more or less like an average car, but inside it's got nothing but the bare minimum required to make it do its job, and it's not pretty.

Now it has become more like a real car — I've gone in and ripped out all that hacked-together mess and replaced it with a thought-out, logically designed infrastructure.

And as with cars, you get some loss in performance with a change such as this — it's hard to maintain the same level of efficiency when switching from procedural to object-oriented design. But BinRock's CPU sits idle nearly all the time, so I'm willing to make a tiny sacrifice in efficiency for the sake of cleanliness and maintainability.

And actually, I think I managed to find a good middle ground, where I don't give up almost any efficiency while still maintaining the clean logical separation of code.

Comments

Posted by Meej 5 minutes later

Dan, we need to practice this "weekend" thing.

Posted by Antonio 7 hours, 38 minutes later

Wow. Compared to my weekend, you had a party with Paris Hilton!

Posted by Dan 3 hours, 31 minutes later

You don't have to rub my face in how bad my weekend was, you know.

Posted by Antonio 58 minutes later

Actually, Dan, my comment was made to imply that my weekend had all the excitement of having a rabid wolverine let loose on my genitals. I would have preferred to spend my weekend coding than having wolverine-based experiences.

Posted by Andres 39 minutes later

dunno, ive heard they REALLY REALLY like the peanut butter... if you catch my drift...

Posted by Antonio 23 minutes later

Peanut butter, hmmmmm...

Posted by Bryon 4 hours, 2 minutes later

I don't really want to start bickering over semantics, but having a rabid wolverine let loose on your genitals would be exciting. It wouldn't be pleasant at all, but it would certainly qualify as exciting.

Posted by Antonio 4 hours, 44 minutes later

<img src="http://images.google.com/images?q=tbn:1qVHIMgPRmcJ:http://www.turtletrack.org/Issues02/Co06292002/Art/wolverine.jpg> <img src="http://images.google.com/images?q=tbn:cIadnRHv4v4J:http://studentaffairs.sdstate.edu/StudentUnion/OutbackJacks/Outdoor%2520Rec/Balls.jpg">

Let the excitement begin.