On 5/25/2013 7:28 PM, Nick Sabalausky wrote:
In something nicely static-typed like D, most tests never end up
failing, and actual applications do end up implicitly testing a heck
of a lot anyway. Of course, this doesn't imply that unittests aren't
extremely worthwhile (and I don't think even the author was claiming
otherwise), and unittests have indeed helped me a good deal, but I do
think they definitely have a "point of diminishing returns".

Sure, going overboard with unittests doesn't accomplish much.

But I can vouch for a large incremental increase in reliability corresponding with the introduction of unittests - far more than non-null pointers could hope to achieve.

Reply via email to