Dusk | Tue Aug 31 18:45:03 2004 |
| Band-aid stump | |
| Topics: Programming | |
|
Sometimes, when maintaining software, one comes across a bug that turns out to be because of a fundamental misdesign. These bugs are often hard to fix. One is given at least two paths to follow here -- one can either apply a band-aid or redesign the software to do the right thing. The first can seem quite appealing sometimes, but the time savings it promises actually don't often materialize -- special cases often need to be propogated all throughout the software, and leave little marks of shame for the future maintainers of the code. Personally, I love nice, clean, well-designed code, and I find it frustrating when I see the band-aids. I usually rip the software apart and redo the broken parts so everything fits right. Today I did some of this, and ended up fixing a number of other broken bits. Oh, I'm playing with Mozilla Firefox. Again. It's kind of quirky, but it's interesting. Hmm. | |