News for hackers. Stuff that matters.
Re:How the Boeing 737 Max disaster looks to a software Devel... by alacombe on Thursday April 18, 2019 @06:00PM (#19695176)
Code cleanliness has no correlation with lack of bugs. Also, 1) your sample size is pretty small, and 2) what looks clean to you might very well be despicable to someone else.
Re:How the Boeing 737 Max disaster looks to a software Devel... by blunte on Thursday April 18, 2019 @06:36PM (#19695399)
And more importantly in this case, the appearance of your code is relatively meaningless compared to you failing to consider all cases of inputs.

Honestly, the appearance of code is irrelevant. The goal is to absolutely accurately meet the requirements - the true, actual requirements. It may not be within scope to know all the information you need to know to cover all the cases, and that's certainly a problem. But the cleanliness of your code, assuming it functions correctly, is unimportant to the operation. (It certainly will be a maintenance cost, though.)

Re:How the Boeing 737 Max disaster looks to a software Devel... by onemoresoop on Thursday April 18, 2019 @06:55PM (#19695509)
The actual argument is that code cleanliness improves readability which in turn makes finding bugs easier and also eases the conceptualizing of what the code does. I'd say it's first line of defense against bugs.. tests could miss bugs too but that doesn't mean we shouldn't test thoroughly
Re:How the Boeing 737 Max disaster looks to a software Devel... by andbberger on Thursday April 18, 2019 @07:45PM (#19695779)
I guess that was a poorly chosen word on my part then. How about 'elegant'.
Re:How the Boeing 737 Max disaster looks to a software Devel... by ncmncm on Thursday April 18, 2019 @09:16PM (#19696244)
"Elegant" does't mean "right" either.

But with elegant code it is often easier to tell if it's not right, and also how to get it right if it's not. Often that requires making it less elegant, because the real world rarely poses elegant problems. You want to ensure that as much as possible of the necessary inelegance is at the top level, with everything below clean.