News for hackers. Stuff that matters.
Re:Python vs Ruby, slightly more in-depth by jrockway on Tuesday August 04, 2009 @02:45PM (#741827)
It's very easy in Perl.

But anyway, "100% code coverage" is very misleading. Sure, every branch might have been executed once, but you don't ensure that every combination of branches executed once. If you have state that can be shared between code paths, then you are not doing an adequate job testing.

(This is why people like functional programming. One input always produces the same output, cutting the number of cases you have to test dramatically.)

There are no comments on this comment yet.