DEV Community

Discussion on: Safety-Critical Software: 15 things every developer should know

Collapse
 
eljayadobe profile image
Eljay-Adobe

Hi Blaine, another excellent article!

Steve McConnell's book, Code Complete “Industry Average: about 15 – 50 errors per 1000 lines of delivered code.” And I think Steve was being optimistic.

Easy enough to do a find . -iname "*.cpp" -print0 | xargs -0 wc -l and divide by 50 to get a sense of how many defects are in the codebase. Using the high-end of Steve's range, which I think the low end is already optimistic.

And this is why I never use the self-driving feature of my car. No way. I don't want to be the next Walter Huang.

Collapse
 
bosepchuk profile image
Blaine Osepchuk

Thanks.

I wrote a post where I criticized into Tesla's autopilot. In the area of driver assist features, I much prefer Toyota's Guardian approach of actually finding ways to help drivers drive more safety instead of asking them to give control to a giving half-baked AI.

Would you use something like Guardian if your car had it? Or do you distrust all safety-critical systems that rely on AI/ML?

Collapse
 
eljayadobe profile image
Eljay-Adobe

I am okay with driver assist technologies. I'm not okay with fully autonomous self-driving cars. Some day, I imagine self-driving cars will be the mainstay. But in the meantime, it'll be a slog up that technology hill.