Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by Steve_p (Priest)
on Sep 10, 2004 at 18:31 UTC ( [id://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.

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-19 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found