Pat Gunn (dachte) wrote,
Pat Gunn
dachte

Band-aid stump

Sometimes, when maintaining software, one comes across a bug that turns outto 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 aband-aid or redesign the software to do the right thing. The first can seemquite appealing sometimes, but the time savings it promises actually don'toften materialize -- special cases often need to be propogated all throughoutthe software, and leave little marks of shame for the future maintainers of thecode. Personally, I love nice, clean, well-designed code, and I find itfrustrating when I see the band-aids. I usually rip the software apart andredo the broken parts so everything fits right. Today I did some of this, andended up fixing a number of other broken bits.

Oh, I'm playing with Mozilla Firefox. Again. It's kind of quirky, but it'sinteresting. Hmm.

Tags: programming
Subscribe

  • Still alive

    Been feeling a bit nostalgic. Not about to return to LiveJournal - their new ownership is unfortunate, but I wanted to briefly note what's been up…

  • Unplugging LJ

    It's about time I pulled the plug on the LJ version of my blog: 1) I'm much more active on G+ than I am with general blogging. I post many times a…

  • Mutual Trust

    I don't know which should be considered more remarkable: That a cat should trust a member of a far larger and stronger species that it can't…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments