Re:You are never taught how to build quality software
by bluGill on Friday December 08, 2023 @05:06PM
(#38575231)
Most devices work within the spec 99.9% of the time, but that last .1% it is outside the spec. The exact % is different for different projects of course, but the idea is still there: no software operates according to spec 100% of the time.
[ Parent
| on HN ]
Re:You are never taught how to build quality software
by fidotron on Friday December 08, 2023 @05:31PM
(#38575548)
It does though. My example of adding two ints within a known finite range would operate to spec 100% of the time.
You would have to introduce things like tolerance to hardware failure, but that is outside the spec of the software as stated.
Re:You are never taught how to build quality software
by sanderjd on Saturday December 09, 2023 @01:11PM
(#38584163)
Yes, but that's not real software.
Re:You are never taught how to build quality software
by sanderjd on Sunday December 10, 2023 @12:33AM
(#38589390)
Some people obviously aren't true Scotsman... I'm from the US and have no attachment to Scotland; if I claimed to be a Scotsman and you pointed out that I'm not, and I said "well that's just the no true Scotsman fallacy!", then I would be totally full of it.
In the same way I am not a real Scotsman, your toy example of an easily specified snippet of a function that doesn't do anything useful is not real software.
Re:You are never taught how to build quality software
by bluGill on Saturday December 09, 2023 @08:25PM
(#38588102)
Sure, but adding two ints is trivial. Hello world probably operates to spec all the time too. Almost all software is vastly more compelx and isn't perfect.
Re:You are never taught how to build quality software
by philipwhiuk on Sunday December 10, 2023 @11:32AM
(#38592703)
> You would have to introduce things like tolerance to hardware failure, but that is outside the spec of the software as stated.
No-one in the real world gives a damn about your 'spec of the software as stated'