News for hackers. Stuff that matters.
Re:Clang is better than GCC by CGamesPlay on Sunday November 27, 2022 @11:41PM (#33769883)
He spent a full day* writing unit tests to cover half of the important cases, then a month debugging why the code still doesn't work, but you think the initial day was the waste of time?

* He doesn't say how much time he actually spent, maybe he spent a whole week writing his (poor) unit tests. Still, that part was the waste of time?

Re:Clang is better than GCC by UncleEntity on Monday November 28, 2022 @09:09AM (#33773798)
Kind of… considering they assumed that the test passing meant the bug wasn’t in the tested code.

How much time was wasted because of the badly written test is anyones guess.