2 ms·
> That brings us to the other problem: software specification. We can’t even know if software is correct if we don’t precisely define what correct means. Howev
by pfdietz 3y ago
> That brings us to the other problem: software specification. We can’t even know if software is correct if we don’t precisely define what correct means.
However if we have software that is mostly correct, and if the bugs are unpredictable and specific to particular implementations, we can still find bugs without a specification by using differential testing: using two or more separate implementations, identify inputs on which their behavior differs. (This requires the software be deterministic.) Places where they differ will not tell us which of the two is wrong, but that can be determined manually once the discrepancy is found.