News for hackers. Stuff that matters.
Re:Eliminating Data Races in Firefox by inetknght on Wednesday April 07, 2021 @01:09AM (#26720811)
> the goal should be to achieve the required defect rate at minimum maintenance cost

I disagree. Maintenance cost doesn't need to be minimized. It needs to be reasonable.

The goal should be to produce high quality software. High quality software is easy to understand and easy to instrument with tools.

Re:Eliminating Data Races in Firefox by lmm on Wednesday April 07, 2021 @05:48AM (#26722513)
Much as I enjoy writing high quality software, it's irresponsible to spend time or money producing something higher quality than is justified by the needs of the business. Generally I find that unit tests for anything other than actual logic (which is a tiny fraction of most codebases) don't offer enough benefit to be worth the costs.

(I'd also argue that unit testing can reduce the quality of the software as it makes the internals of the architecture more costly to change).

Re:Eliminating Data Races in Firefox by inetknght on Wednesday April 07, 2021 @10:26PM (#26734412)
> Much as I enjoy writing high quality software, it's irresponsible to spend time or money producing something higher quality than is justified by the needs of the business.

I think it's more irresponsible to produce something that the customer isn't going to be able to use for many years or that needs a patch before it's even released.

Re:Eliminating Data Races in Firefox by lmm on Wednesday April 07, 2021 @10:54PM (#26734576)
The responsible approach is the one that delivers the best cost/benefit for the customer. Yes, it doesn't mean producing something that's completely unusable - but it rarely means producing something completely bug-free either.