Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?
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.

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 imbibing at the Monastery: (5)
As of 2015-11-28 10:32 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (741 votes), past polls