Re:Ask HN: How did NASA make reliable software if they didn'...
by Cacti on Tuesday July 19, 2016 @12:37PM
(#12122735)
As the saying goes, crap in, crap out. It's just as easy to write crappy unit tests as it is crappy code.
[ Parent
| on HN ]
Re:Ask HN: How did NASA make reliable software if they didn'...
by tmm on Tuesday July 19, 2016 @12:54PM
(#12122895)
Or, as W. E. Deming wrote: "You cannot inspect quality into a product."
Re:Ask HN: How did NASA make reliable software if they didn'...
by danudey on Tuesday July 19, 2016 @02:39PM
(#12123786)
After three years of working on some software (basically some fancy shell scripting but in Python), when the project had grown dramatically beyond its original scope through a host of hacks and bolted-on features, I remembered that the software had unit tests and ran them.
Surprisingly, all the unit tests passed, and my first thought when I saw that was "Man, I bet these unit tests are awful."
Re:Ask HN: How did NASA make reliable software if they didn'...
by finishingmove on Tuesday July 19, 2016 @01:37PM
(#12123286)
And it's extremely hard to write unit tests for crappy code.