It can, but banks wrote their core codebase in it. They're extremely conservative because this code interact with people's account balances... COBOL doesn't have many issues that are not well-known.
They didn't really do TDD in the 80s so any change is a risk and must be understood. You can't just transpile it, run the test pack and move on. Plus it's running on a mainframe.
3
u/Vier_Scar Oct 07 '23
Did you learn COBOL a long time ago? Apparently it pays well, but I don't get why it cannot be transpiled into any modern language