100 Words 007

They say programming is mostly fixing bugs. Unfortunately, I’ve found this to be true. As developers we typically develop in the ideal environment—latest Chrome, fast connections, fast computers, high-resolution monitors.

The first pass on a new chunk of code works to the standard and has no issues in my preferred browser. But then I start testing in other browsers and under more typical conditions, and the exceptions and workarounds start getting thrown into the code.

I code in two phases: after I discover a bug, I just try to fix it no matter how ugly/dirty the solution is. Then on a second pass (which happens immediately) I clean up the code and try to make it as clear and efficient as possible.

But I really wish most of our time wasn’t spent on bugs.