Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Ninja style coding... is it bad?

by Steve_p (Priest)
on Sep 10, 2004 at 18:31 UTC ( #390157=note: print w/ replies, xml ) Need Help??

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.

Comment on Re: Ninja style coding... is it bad?
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://390157]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-08-22 02:44 GMT
Find Nodes?
    Voting Booth?

    The best computer themed movie is:

    Results (145 votes), past polls