Hacker News new | ask | show | jobs
by jbverschoor 862 days ago
Just comment out the tests and they pass
2 comments

Instead of Software Development becoming more like Aeronautical Engineering, every day, Aeronautical Engineering becomes more like Software Development...
Almost every software engineering book:

Halting on an error is often best, as is raising the error after catching it, unless you're certain it should be subdued or aware, expect the issue, and have limited risk.

Every dev project:

Hold up, couldn't this raise an exception? That's bad!

Well, to be clear, I don't usually put people in danger. There's a lot these engineers could learn from software engineers: who are really the highest performance at engineering as a craft. One base rule: Above all, kill no one.
I think that software engineers put people in danger more often than they would like to believe; have a look at the UK Postal Service scandal for a great example of a seemingly innocuous bit of software absolutely destroying numerous lives.
Neither the software nor the software engineers were the ones who destroyed people's lives. That's on managers of the software company, managers of the postal service, prosecutors and judges who all conspired to hide the truth and condemn innocent people. I believe software engineers actually testified that the software had bugs, and the prosecutors hid that particular testimony.
Indeed. And yet immediately outmatched by the number of lives destroyed by motor vehicles (probably per day).
I’m trying to convince a group of devs that catching (and ignoring) every exception is not actually a solution to their crash bugs.
Ya know.. you can also just do that and then change the requirements:

> In a revision to the Flight Crew Operations Manual, issued on January 15, 2024, Boeing confirmed that the door functioned as designed.

Problem solved for the current level in the hierarchy.

The same group I’m talking about did exactly that: they got an exemption for any security issues from the CISO.

Literally turning a blind eye, but officially, so that’s okay!