Hacker News new | ask | show | jobs
by kelnos 109 days ago
> while reducing bugs on my side with the help of AI.

How do you know? You might be adding (latent) bugs every time your LLM fixes one for you.

2 comments

Same as usual: add tests. Over time the test suite becomes the spec that describes how the software should function. As the test suite grows you squeeze out room for undefined behaviour and bugs.
>Same as usual: add tests. Over time the test suite becomes the spec that describes how the software should function.

That covers functionality - it doesn't catch the kind of bugs talked about in TFA.

I remember decades ago IBM published some research that said that every two bug fixes resulted in a new bug.
As long as the first derivative is negative, you can finish with a usable product.

If the first derivative is positive, adding people does not help.

Yes, it just means your bug queue is twice as long as you think it is.

https://en.wikipedia.org/wiki/1/2_%2B_1/4_%2B_1/8_%2B_1/16_%...