I see it as a complete opposite for sure, I will tell you why. it could have been a threat if it was something you cannot control, but you can control it, you can learn to control it, and controlling it in the right direction would enable anyone to actually secure your position or even advance it. And, about the COBOL, well i dont know what the heck this is.
Ask HN: COBOL devs, how are AI coding affecting your work?
31–40 of 190 posts
Re: Ask HN: COBOL devs, how are AI coding affecting your work?
#32Earlier quoted context omitted.
AI isn’t particularly great with C, Zig, or Rust either in my experience. It can certainly help with snippets of code and elucidate complex bitwise mathematics, and I’ll use it for those tedious tasks. And it’s a great research assistant, helping with referencing documentation. However, it’s gotten things wrong enough times that I’ve just lost trust in its ability to give me code I can’t review and confirm at a glanc…
I’m being pushed to use it more and more at work and it’s just not that great. I have paid access to Copilot with ChatGPT and Claude for context. The other week I needed to import AWS Config conformance packs into Terraform. Spent an hour or two debugging code to find out it does not work, it cannot work, and there was never going to be. Of course it insisted it was right, then sent me down an IAM Policy rabbit hole,…
Re: Ask HN: COBOL devs, how are AI coding affecting your work?
#33Generally speaking any kind of AI is relatively hit or miss. We have a statically generated knowledge base of the migrated sourcecode that can be used as context for LLMs to work with, but even that is often not enough to do anything meaningful.
At times Opus 4.5 is able to debug small errors in COBOL modules given a stacktrace and enough hand-holding. Other models are decent at explaining semi-obscure COBOL patterns or at guessing what a module could be doing just given the name and location -- but more often than not they end up just being confidently wrong.
I think the best use-case we have so far is business rule extraction - aka understanding what a module is trying to achieve without getting too much into details.
The TLDR, at least in our case, is that without any supporting RAGs/finetuning/etc all kind of AI works "just ok" and isn't such a big deal (yet)
Re: Ask HN: COBOL devs, how are AI coding affecting your work?
#34I would assert this is affecting all programming languages, this is like the transition from Assembly to high level languages. Who thinks otherwise, even if LLMs are still a bit dumb today, is fooling themselves.
Compiling high level languages to assembly is a deterministic procedure. You write a program using a small well defined language (relative to natural language every programming language is tiny and extremely well defined). The same input to the same compiler will get you the same output every time. LLMs are nothing like a compiler.
"Project the need 30 years out and imagine what might be possible in the context of the exponential curves"
-- Alan Kay
Re: Ask HN: COBOL devs, how are AI coding affecting your work?
#35I really wouldn't want any vibe-coded COBOL in my bank db/app logic...
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.
Re: Ask HN: COBOL devs, how are AI coding affecting your work?
#36I really wouldn't want any vibe-coded COBOL in my bank db/app logic...
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.
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?
Re: Ask HN: COBOL devs, how are AI coding affecting your work?
#37Earlier quoted context omitted.
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.
Aye. AI is also great for learning specifics of poorly documented APIs, e.g. COM-based brainrot from Microsoft.
Re: Ask HN: COBOL devs, how are AI coding affecting your work?
#38Earlier quoted context omitted.
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.
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 rev…
It is largely a question of working ethics, rather than a matter of discipline per se.
Re: Ask HN: COBOL devs, how are AI coding affecting your work?
#39Disclaimer: I've never written a single line of COBOL. That said, I'm a programming language enthusiast who has shipped production code in FORTRAN, C, C++, Java, Scala, Clojure, JavaScript, TypeScript, Python, and probably others I'm forgetting.
Re: Ask HN: COBOL devs, how are AI coding affecting your work?
#40I've not found it that great at programming in cobol, at least in comparison to its ability with other languages it seems to be noticeably worse, though we aren't using any models that were specifically trained on cobol. It is still useful for doing simple and tedious tasks, for example constructing a file layout based on info I fed it can be a time saver, otherwise I feel it's pretty limited by the necessary system…
AI isn’t particularly great with C, Zig, or Rust either in my experience. It can certainly help with snippets of code and elucidate complex bitwise mathematics, and I’ll use it for those tedious tasks. And it’s a great research assistant, helping with referencing documentation. However, it’s gotten things wrong enough times that I’ve just lost trust in its ability to give me code I can’t review and confirm at a glanc…