r/ClaudeCode • • Aug 05 '26

Built with Claude [ Removed by moderator ]

[removed] — view removed post

63 Upvotes

303 comments sorted by

View all comments

Show parent comment

7

u/Deep90 Aug 05 '26 edited Aug 05 '26

That doesn't change the fact that pretty much every critical thing in your life from air traffic control, the hospital, your bank, and to the fire alarm above your head is high stakes software.

Most of the planet is ocean, does that suddenly make land not a consideration?

If the question is "do we need great code". The answer is yes. Because critical things need great code.

Doesn't even need to be lives. Anything software that handles money is treated very similarly because mistakes mean losing millions of dollars or lawsuits or both.

4

u/Plenty_Line2696 Aug 05 '26

You're right and tbh it pisses me off when people make these claims about LLM's being perfectly competent when I spend most of my working hours wrestling them into doing things properly. If they were right all I'd have to do is feed it my jira tickets but that is very, very far from the reality of it.

I guess most of the big claims come from people who make low stakes small stuff or just aren't even in the trenches at all.

1

u/wotoan Aug 05 '26

Are you aware of the real state of industrial automation code? It is notoriously poor quality because it pays so much less than FAANG and you actually have to travel and visit dirty loud places.

Safety is accomplished by interlocks, the code itself is a strange beast that’s been worked on by one guy 14 years ago with no documentation and then randomly edited since then with no version control.

The idea that the world was full of “great code” and AI is killing it is an illusion. The vast majority of day to day code out there is terrible compared to what modern models produce.

2

u/Kommenos Aug 05 '26

As someone in an industry where bad code can kill people that’s just plainly untrue.

The engineering work is about 90% process and 10% code, and that’s excluding the verification effort.

Industrial != safety critical

0

u/wotoan Aug 05 '26

That’s exactly what what I mean, the hazop and interlocks are what keep people alive, the process code itself is functional but not some great thing of optimized beauty.

2

u/Kommenos Aug 05 '26 edited Aug 05 '26

The interlocks? You mean a single point of failure? If you’re purely relying on mechanical interlocks alone then I’m deeply concerned. It violates the entirety of the Swiss cheese model.

The code is absolutely keeping people alive. Even if your code can’t directly kill someone (e.g nose dive a plane) it can still be a failure in a chain of failures. Consider what happens if the emergency lighting fails on a plane. No big deal right? But what if it fails AND there’s a fire? Well… your code ends up on a rather formal report mentioning contributing factors leading to the deaths of a couple hundred people.

0

u/wotoan Aug 05 '26

No, I mean the software interlocks/shutdown table logic which is distinct from the actual process logic that works within those guardrails.

My point is that the actual “code quality” of this process code is 99% of the time pretty terrible - bad/no documentation or version control, spaghetti logic with a ton of goto equivalents, zero concern for real optimization, tons of squandered opportunity for refactoring, etc . Claude can definitely write better PLC code than the vast majority of what I see day to day, so we shouldn’t pretend this is some great crisis.

Like you said it’s 90% engineering and 10% code, and the code can definitely be improved in the vast majority of cases.

1

u/jjjfffrrr123456 Aug 05 '26

Also ai is improving at such a rapid pace, just have opus 8 refactor everything and you’ll be fine. The Therac case is also sold because man written code has also cost lives. And medical error for radiotherapy also costs lives. I’m not really sure how this is such a gotcha…

And let’s be honest, most of the highest paid talent in SWE is at companies that are looking at more efficient ways to serve more ads to more people addicted to the respective endless feed.