IBM stock dropped 13% on the news that Claude Code can now refactor COBOL. That might be bad for IBM, but it is good for the wider IT world.
Using an LLM inductively—writing a lot of code from a short prompt—allows it to confabulate over-complex and buggy code. But using an LLM deductively—distilling knowledge from a larger data set—is a place where the AI can do something well that humans are not very good at.
Since the beginning of programming, we have struggled with documentation. Everybody who has been in the industry for a while has experienced being thrown into a swamp of inconsistent, badly documented code with the instruction to fix it.
I’m not afraid that AI will put us all out of a job. We have a gazillion lines of legacy code that need refactoring. That has been prohibitively expensive until now. With modern AI tools, we have a chance to make a dent in the problem.
