4 ms·
As silly as the explanation was, there is actually a good reason to re-implement. And that is that if nobody does, then any bug in the original code will survi
by btilly 17y ago
As silly as the explanation was, there is actually a good reason to re-implement. And that is that if nobody does, then any bug in the original code will survive to cause problems with nobody knows how many results before anyone catches the bug.
Reimplementing from scratch then comparing with the original gives an opportunity to find such bugs.
- barrkel 17y agoYes, but such arguments apply at different levels of abstraction. I doubt one would rewrite the OS, compiler or runtime libraries because they couldn't be trusted; though all these can also have bugs.
- btilly 17y agoOne would probably not rewrite them. However people both can and do take their software and run it on a different operating system, compiled with a different compiler, linked with different run-time libraries, on a different type of hardware. And yes, I've seen bad software assumptions flushed out by doing so. (Don't use floating point for complex financial calculations please. OK??)
- philwelch 17y agoNot just bugs, but also ambiguities in specification, which helps us to refine our higher level specifications.