Big Rowan Ackison (greensh) wrote,
Big Rowan Ackison

  • Mood:

No Good Deed

No good deed goes unpunished, or so the saying goes. I've been wrestling with the computer version of this all afternoon. The corollary statement in programming land is, "add a feature, add a bug". The key to not entering this accursed place is to fully understand the original code and the ramifications of any changes. Things go much better when this is the case. The "bug" I've been fighting is from a sweeping change that I made with my fingers crossed and high hopes of nothing being broken. Well,95+% was not broken, but this is not enough to make those all so literal computers happy.

This was all confirmed in my latest copy of "Visual Studio Magazine". An article on debugging says:
First, make a plan and think about the consequences of your changes. Make sure you understand how the code is supposed to work, how it actually works, and how it will work after you make the change. Remember that bugs are caused by not understanding the code. Make sure you understand the situation before you act. Changes to old code are far more likely to introduce new bugs than writing new code is, so think before you make matters worse.
Truer words have not been said!
Tags: bugs, programming

  • Poem -Set a Sentence

    The poem “Set a Sentence” was inspired by a Facebook posting that stated, “when people my age are all afraid of the world that…

  • Poem - Beyond the Dance

    The poem “Beyond the Dance” is about striving to live beyond the normative. Beyond the Dance Seek a life beyond the dance that span of…

  • Poem - Tradition Tossed

    The poem “Tradition Tossed” is about the suffocation of traditions. Tradition Tossed Where chains of rules are applied to the limbs of…

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.