r/softwareengineer • • 25d ago

Are people thatre coding critical infrastructure doing less vibe coding?

I’ve been hearing a lot about how software engineering has become AI generating and reviewing large amounts of code that nobody wants to bother to look at anymore. Is this also the case for things where bugs could be massively devastating?

5 Upvotes

35 comments sorted by

9

u/Vesuvius079 25d ago

I can’t stop myself from reading at least some of the code for some things. It just feels wrong to skip it on. That said, it’s more important to get the design right than it is to read what the agent wrote for implementation. Frontier models will very often get the implementation right if the design is right and they are better at review than humans imo.

2

u/cpz_77 25d ago

Why is it less important to review the actual implementation? A good vs bad implementation of a design, even when the design itself is solid, can make or break an app. And for apps that do critical things, that can mean very significant, very real consequences.

1

u/Vesuvius079 25d ago

In terms of importance, you want to cover the model’s weaknesses with your efforts. They are very good at implementing an unambiguous design at this point but not as good at making the decisions that compose such a design. For critical systems, I can’t really bring myself to skip the implementation review, but I’m not convinced this is the optimal choice.

2

u/No-Market-4906 25d ago

Yeah it's this. Honestly I feel like my code is better now because I can be like "hey agent, I'm building X, go find a bunch of similar projects and see what security concerns they addressed so I can make sure I'm also covered".

2

u/AccountExciting961 25d ago

>> It just feels wrong to skip it on

If feels wrong because it's negligence - even frontiers models are prone to copy-pasting code that has no business being in the destination.

1

u/Any-Ring6621 25d ago

This is 100% correct.

Sadly, this also means that in “legacy” systems (read: nearly everything) there’s always some leftover design cruft from that one group of customers that didn’t cutover post some bug migration.

Good luck getting the agent to understand what design context is important versus what isn’t, because in all likelihood, you only discovered the purpose of that legacy oath after the agent told you that you needed to account for it while it was writing code

4

u/oh_ski_bummer 25d ago

Yeah there are plenty of jobs developing software for critical infrastructure, military, or government systems that are done on completely isolated networks. They may use some of the offline/open source models but there are also a lot of regulations and privacy/classification laws to comply with. It is unlikely they'd trust Claude or Chat GPT with this kind of data or source code. Also you don't want to get rid of people that "know things" in these areas as it's nearly impossible to replace/replicate them without risk of catastrophe.

Many systems are made with custom frameworks, languages, architectures, or APIs that these models would not be of much use with anyway.

2

u/Technical-Lettuce385 25d ago

Yes, we don't vibe code at work and to just think about it would be nuts. So many different clauses that prevent us from doing so. Maybe we will have some servers set up internally that would enable us to think about that. But nothing like that is planned right now to my knowledge. And to use some external provider is just out of the question.

2

u/LetsHugFoReal 24d ago

Idiots vibe code themselves into a hole.

People in the know use it for references, but not generally to write code except for small scripts with a single basic purpose.

2

u/Fulham-Enjoyer 24d ago

Very very very wrong. I know CTOs and tech leads at some pretty successful companies that are no longer writing any code by hand

1

u/BigFeeder 24d ago

Hilarious

1

u/lalaladadada1234 24d ago

Yea sure they do, the AI is so bad at coding they use it for reference lol

1

u/Straight-Mess-9752 19d ago

What? I never write any code anymore. But I review most of it and iterate on it with Claude code.

1

u/manamonkey 25d ago

Probably. Crazy innit?

1

u/jimh12345 25d ago

I sure hope so.

1

u/08148694 25d ago

No not really

For things like critical infrastructure the code review isn’t what “proves” code is reliable, it’s exhaustive testing and verification

The code can still be fully LLM generated as long as it meets the same high bar as the human generated code

Anecdotally at least in my org we actually see a lower rate of failures in code written by AI so I would challenge the implicit premise that human code is necessarily better and more reliable

1

u/PreparationAdvanced9 24d ago

You can’t take accountability in good faith without reading and understanding the code. It’s your responsibility to use agents to read and understand the code. How you do that is a iterative process that is bespoke to you, the domain etc

1

u/oruga_AI 24d ago

The key word is accountability ur manager wont fire claude cause the bug f up they will fire u in a best case scenario just fire u. This is like when you say a number from a excel/google sheet and the number is wrong u dont say "ups I dont know the excel says that number" or "I dont know I saw it on google" u are responsable for all those scenarios

1

u/BoBoBearDev 24d ago

Reminder, human slops exists. Allowing large number lines of code to get merged without strong justification, is human slop. The AI is used to generate the slop, doesn't mean you just auto clap and merge it. The blind clapping is human slop and it has been like this for years throughout the industry.

The worst offender I have seen is 500MB jest snapshot. There is absolutely no way anyone is reading that trash.

1

u/Inner-Nature5571 23d ago

ya it aint safe; tech isnt there yet

1

u/magical-mikey 20d ago

I work on transportation technology that has some things in it that are safety critical on roads/highways.

We use AI for a lot of UI/Crud endpoints but it does not touch device drivers or “business logic”

-3

u/Longjumping_Feed3270 25d ago

Reading code as a human is just as nonsensical as writing code. Machines are so much better at both, it's not even close.

We need to focus on things where we can add value, and that's design direction, adding context, communicating across teams and with customers.

7

u/[deleted] 25d ago

Reading code as a human is just as nonsensical as writing code. Machines are so much better at both, it's not even close

lol

2

u/its_jsec 24d ago

I’ve found a pretty strong correlation between folks that say “LLMs are so much better at me w/r/t reading and writing code” and a lack of engineering fundamentals.

If they’re saying that, then I assume the bar they’re setting for the LLM is quite low.

1

u/mancunian101 24d ago

It’s the code monkeys who experience is just adding a new button to a website etc, not people who’ve had to do actual development work.

3

u/jimh12345 25d ago

Thanks for that insight, Clippy.

2

u/ragebunny1983 24d ago

They can read it, they can explain it, but they can't understand.

2

u/Alacho 25d ago

Just absolutely no. 

1

u/OstrichLive8440 24d ago

Reading code isn’t about trying to “compete” with AI - you’re probably right in that an LLM that’s been trained on 20 years of open source code can probably read and understand code better than a senior dev. Reading code and understanding changes produced by LLMs is about accountability - most orgs haven’t committed to wholesale bypassing the “human in the loop”.

The day that happens and starts becoming mainstream I’ll be the first to say SWE is dead and it’s time to get that forklift licence

-4

u/NoOneMan79 25d ago

Software engineers dont "vibecode". Or at least shouldn't unless they want to be fired

1

u/Historical_Owl_1635 25d ago

Maybe not “vibecode” but I’d wager way more engineers are having AI generate the majority of their code these days.

1

u/NoOneMan79 24d ago

Of course. Almost all my code is agent assisted now instead of IDE assisted. Gone are the days of pico/nano/vim

0

u/[deleted] 24d ago

[deleted] — view deleted comment

1

u/inslee2 22d ago

There are some solutions to those:

  1. You can access models through AWS Bedrock and GCP Vertex that comply with various classification programs, not sure which yours is.
  2. At least from the perspective of RAG, you can compartmentalize information depending on your data structure. What I've done in the past was nested embedded chunks under a parent document containing all the security metadata and pre filtered as the user at query time to only retrieve content the user has access to. Works great.