Merged Post III

Posted on June 13, 2007 in Computers,Programming by KG2V

Friday, June 1, 2007
IS Code our enemy? (Computers – not Morse)
This Morning, Jeff Atwood over at “Coding Horror” wrote an article The Best Code is No Code Commenting on Code is our enemy over at Skrentablog

I happen to think BOTH posters are right and wrong. I’ll agree with Jeff that Brevity is extremely important, BUT not at the expense of robustness.

Of course, code that does NOT exist is the most robust code there is.

Rich says that there are 3 kinds of code. Stable (aka code that doesn’t change over time), Code that gets worse, and Code that gets better. I feel that there are really 4 kinds. The addition is code that RARELY changes

I see a lot of this RARELY change code, but the joke is, this is where I see some of the worst code, because when it does change, it may be a decade since it last changed, and NO one really knows the code anymore, and it often has lots of dependencies hung off of it. THIS is the code that probably needs both the best decoupling and DRY – even though it rarely changes

Comments on 'Merged Post III' (0)

    Leave a Reply