in reply to Ninja style coding... is it bad?

I have a better suggestion that I read elsewhere (maybe Joel on Software). Rather than stealth code fixes, write good test cases that expose the bug.

This has several advantages. First, you get to write good code even if it is just for a test case. Second, you force the fix to happen. Third, you force the bad coder away from new development and towards fixing their bugs. The original article I read suggested burying such coders in bug reports to prevent them from inflicting any more (new) damage on the system.

Replies are listed 'Best First'.
Re^2: Ninja style coding... is it bad?
by chaoticset (Chaplain) on Sep 11, 2004 at 14:16 UTC
    Hm. Instead of merely correcting the code, enlighten the other person through the use of a question that forces them to see the error.

    The Zen Of Testing. I like. :)



    -----------------------
    You are what you think.