Hacker News new | ask | show | jobs
by marcosdumay 2900 days ago
> The cost of fixing a discovered bug seems to grow exponentially with the amount of code in which the bug may appear.

That's completely at odds with my experience.

I find that for local bugs, the cost of locating them grows with O(log n) of the amount of code. And for non-local bugs (interface bugs, system bugs, incompatible specs...) unit tests don't catch them anyway.