Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Hacking perl

by hossman (Prior)
on Oct 21, 2005 at 00:03 UTC ( #501855=note: print w/ replies, xml ) Need Help??

in reply to Hacking perl

Superb write up.

I feel sadend however, by one thing that seems to be missing, but in my opinion is absolutely critical to any patch to any OSS Code Base -- test cases.

Even if you don't believe in Test driven development, even if you don't worry about having 100% code coverage in your test suite, the best way to explain what a patch does, is to provide some tests that demonstrates it's usage.

Comment on Re: Hacking perl
Replies are listed 'Best First'.
Re^2: Hacking perl
by robin (Chaplain) on Oct 21, 2005 at 07:13 UTC

    A very good point, thanks. (Certainly a patch would never be accepted into the core unless accompanied by tests.) I'll update my node to include some tests.

    Update: I've updated it. Now with tests!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-11-26 16:25 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 (701 votes), past polls