News for hackers. Stuff that matters.
Re:Ask HN: If your life would hang on code you've written to... by chrisbennet on Thursday August 23, 2018 @08:26AM (#17826632)
I wouldn't trust my code for something it wasn't designed to do i.e. operate a critical life support system. As they say, "Price, Quality, Speed: pick two." Perfect code is expensive and isn't worth it to the client.
Re:Ask HN: If your life would hang on code you've written to... by seren on Thursday August 23, 2018 @08:31AM (#17826655)
I am working on critical medical code. I don't necessarily trust my code more that any other places where I used to work, but I trust the overall organization with proper QA, testing, robustness tests, HW tests, etc.

It is not like I could write some code and it would run tomorrow on a real patient.

Re:Ask HN: If your life would hang on code you've written to... by Artemix on Thursday August 23, 2018 @08:33AM (#17826666)
I'd never trust my own code, as safe as it can be.

Mistakes and crashes happens, and I'd prefer to always be ready to handle and fix stuff instead of trusting that my own code would perfectly work.

Re:Ask HN: If your life would hang on code you've written to... by bausshf on Thursday August 23, 2018 @08:41AM (#17826726)
The code I wrote worked fine, but when published it didn't work fine, because of some missing dependencies.

Sometimes it's not just your own code that's going to kill you.