Remix.run Logo
0xCE0 3 hours ago

I really wouldn't want any vibe-coded COBOL in my bank db/app logic...

egorfine 3 hours ago | parent | next [-]

vibecoding != AI.

For example: I'm a senior dev, I use AI extensively but I fully understand and vet every single line of code I push. No exceptions. Not even in tests.

worksonmine 2 minutes ago | parent | next [-]

> Not even in tests.

This should be "especially in tests". It's more important that they work than the actual code, because their purpose is to catch when the rest of the code breaks.

hnlmorg 2 hours ago | parent | prev | next [-]

Whilst I agree with your point, I think what sometimes gets lost in these conversations is that reviewing code thoroughly is harder than writing code.

Personally, and I’m not trying to speak for everyone here, I found it took me just as long to review AI output as it would have taken to write that code myself.

There have been some exceptions to that rule. But those exceptions have generally been in domains I’m unfamiliar with. So we are back to trusting AI as a research assistant, if not a “vibe coding” assistant.

tjwebbnorfolk 2 hours ago | parent | next [-]

I think the point is in a banking context, every line of code gets reviewed thoroughly anyway.

hnlmorg an hour ago | parent | next [-]

I’d expect every line of code to get reviewed in any organisation.

The difference with AI is that the “prompt engineer” reviews the output, and then the code gets peer reviewed like usual from someone else too.

egorfine an hour ago | parent | prev [-]

You'd be surprised...

egorfine an hour ago | parent | prev [-]

> as long to review AI output as it would have taken to write that code myself

That is often the case.

What immensely helps though is that AI gets me past writer's block. Then I have to rewrite all the slop, but hey, it's rewrite and that's much easier to get in that zone and streamline the work. Sometimes I produce more code per day rewriting AI slop than writing it from scratch myself.

atomicnumber3 an hour ago | parent | prev | next [-]

Unfortunately, the people who are "pro-AI" are so often because it lets them skip the understanding part with less scrutiny

egorfine an hour ago | parent [-]

The good news here is that their code is of such a poor quality it doesn't properly work anyway.

I have recently tried to blindly create a small .dylib consolidation tool in JS using Claude Code, Opus 4.5 and AskUserTool to create a detailed spec. My god how awful and broken the code was. Unusable. But it faked* working just good enough to pass someone who's got no clue.

tjr 2 hours ago | parent | prev | next [-]

That is my preferred way to use it also, though I see many folks seemingly pushing for pure vibe coding, apparently striving for maximum throughput as a high-priority goal. Which goal would be hindered by careful review of the output.

It's unclear to me why most software projects would need to grow by tens (or hundreds) of thousands of lines of code each day, but I guess that's a thing?

elzbardico 2 hours ago | parent | prev | next [-]

And I do a lot of top level design when I use it. AIs are terrible at abstraction and functional decomposition.

eps 2 hours ago | parent | prev [-]

Aye. AI is also great for learning specifics of poorly documented APIs, e.g. COM-based brainrot from Microsoft.

refneb 2 hours ago | parent [-]

Hey now, that COM based rot paid for my house and kid’s college expenses.

egorfine an hour ago | parent [-]

Not anymore. AI actually does this part much better.

shevy-java an hour ago | parent | prev | next [-]

How many banks really use COBOL? Here in central Europe it seems to be Java, Java, Java for the most part. Since many years actually.

pixl97 7 minutes ago | parent | next [-]

As others have said, US banks seem to run a lot of it, as in they have millions of lines of code of it.

This is not saying that banks don't also have a metric shitload of Java, they do. I think most people would be surprised how much code your average large bank manages.

pverheggen 32 minutes ago | parent | prev [-]

In the US, there are several thousands of banks and credit unions, and the smaller ones use a patchwork of different vendor software. They likely don't have to write COBOL directly, but some of those components are still running it.

From the vendor's perspective, it doesn't make sense to do a complete rewrite and risk creating hairy financial issues for potentially hundreds of clients.

null_deref 3 hours ago | parent | prev | next [-]

Does the use AI always implies slope and vibe coding? I’m really not sure

foxmoss 12 minutes ago | parent | next [-]

Because the question almost always comes with an undertone of “Can this replace me?”. If it’s just code search, debugging, the answer’s no because a non-developer won’t have the skills or experience to put it all together.

jebarker 3 hours ago | parent | prev [-]

No, it doesn't. For example, you could use an AI agent just to aid you in code search and understanding or for filling out well specified functions which you then do QA on.

0xCE0 2 hours ago | parent | next [-]

To do quality QA/code review, one of course needs to understand the design decisions/motivations/intentions (why those exact code lines were added, and why they are correct), meaning it is the same job as one would originally code those lines and building the understanding==quality on the way.

For the terminology, I consider "vibe-coding" as Claude etc. coding agents that sculpts entire blocks of code based on prompts. My use-tactic for LLM/AI-coding is to just get the signature/example of some functions that I need (because documents usually suck), and then coding it myself. That way the control/understanding is more (and very egoistically) in my hands/head, than in LLMs. I don't know what kind of projects you do, but many times the magic of LLMs ends, and the discussion just starts to go same incorrect circle when reflected on reality. At that point I need to return to use classic human intelligence.

And for COBOL + AI, in my experience mentioning "COBOL" means that there is usually DB + UI/APP/API/BATCHJOB for interacting with it. And the DB schema + semantics is propably the most critical to understand here, because it totally defines the operations/bizlogic/interpretations for it. So any "AI" would also need to understand your DB (semantically) fully to not make any mistakes.

But in any case, someone needs to be responsible for the committed code, because only personified human blame and guilt can eventually avert/minimize sloppiness.

sarchertech 3 hours ago | parent | prev [-]

You 100% can use it this way. But it takes a lot of discipline to keep the slop out of the code base. The same way it took discipline to keep human slop out.

There has always been a class of devs who throw things at the wall and see what sticks. They copy paste from other parts of the application, or from stack overflow. They write half assed tests or no tests at all and they try their best to push it thought the review process with pleas about how urgent it is (there are developers on the opposite side of this spectrum who are also bad).

The new problem is that this class of developer is the exact kind of developer who AI speeds up the most, and they are the most experienced at getting shit code through review.

eps 2 hours ago | parent [-]

> But it takes a lot of discipline to keep the slop out of the code base.

It is largely a question of working ethics, rather than a matter of discipline per se.

ironbound 2 hours ago | parent | prev [-]

Management loves trying to save money, a bunch of grads with AI have differently had a project to try to write COBOL!