|
|
Log in / Subscribe / Register

COBOL programmers

COBOL programmers

Posted Nov 19, 2025 9:55 UTC (Wed) by farnz (subscriber, #17727)
In reply to: Memory-safe C code by Wol
Parent article: Rust in Android: move fast and fix things (Google Security Blog)

Nowadays, they pay to train people in COBOL because it is cheaper to train a new programmer to do COBOL well than it is to rewrite the code in a newer language. Most people I know who've gone this route paid off their mortgage, then learnt COBOL as a way to get a low-stress, decent pay job to take them into retirement, although there are a few who learnt it straight out of university as part of working for a contracting firm who does COBOL stuff.


to post comments

COBOL programmers

Posted Nov 19, 2025 13:21 UTC (Wed) by nijhof (subscriber, #4034) [Link]

When I was a PhD student, 1990-something, I started applying for a Cobol job. A fellow student got rejected because he got all answers right on the test...

COBOL programmers

Posted Nov 20, 2025 9:27 UTC (Thu) by taladar (subscriber, #68407) [Link] (6 responses)

Not sure I would consider a job low-stress that involves exclusively work with legacy projects.

Working on legacy projects can be low stress *if* demand on you is low.

Posted Nov 20, 2025 9:49 UTC (Thu) by farnz (subscriber, #17727) [Link]

It's low-stress if you work directly for a company with a COBOL codebase, because the demands are small. The consultancies charge about the same for a month of COBOL work as it costs to employ a person for a year, and thus organisations that would otherwise have to pay for multiple months per year of consultancy time have a huge incentive to keep their in-house COBOL programmers happy.

As, by and large, the COBOL programmers are willing to accept lower salaries (because of the low stress) than similarly experienced programmers working in modern languages, it's obvious to the usual suspects for causing stress that the COBOL programmers should be left alone - there's lower-hanging fruit than the people who aren't the highest paid programmers, and who are responsible for business-critical systems.

COBOL programmers

Posted Nov 20, 2025 14:44 UTC (Thu) by mathstuf (subscriber, #69389) [Link]

I think there's a difference between working with perpetually legacy code rather than code that *becomes* legacy every 6 months. I think I would prefer the former given the choice between the two. Or, maybe, neither and instead decide to be outside more often ;D .

Legacy projects (was: COBOL programmers)

Posted Nov 20, 2025 15:33 UTC (Thu) by dskoll (subscriber, #1630) [Link] (3 responses)

My last job prior to retirement was working on a large legacy codebase that had some... interesting... architectural decisions and quite a lot of technical debt. I spent much of my time cleaning it up and getting rid of technical debt, as well as adding a few new features.

I really enjoyed it. There's something about my brain that enjoys reverse-engineering and cleaning up old code bases. Additionally, the job was pretty chill, my coworkers were great, and there were no crazy externally-imposed arbitrary deadlines. I felt that I ended my career on a high.

Legacy projects (was: COBOL programmers)

Posted Nov 21, 2025 10:12 UTC (Fri) by taladar (subscriber, #68407) [Link] (2 responses)

It sounds like a large part of that enjoyment was in actually being able to change the legacy code though, so it depends a bit on how hard the legacy project drives the idea that any code change beyond the absolute minimum necessary is bad because it might introduce new bugs.

Legacy projects (was: COBOL programmers)

Posted Nov 21, 2025 12:51 UTC (Fri) by Wol (subscriber, #4433) [Link]

I thoroughly enjoy that sort of work too.

A lot of it is cleaning up technical debt - getting rid of all those repeatedly-invented wheels, turning duplicated code into subroutines, writing utility subroutines/macros/programs to maximise code re-use, eliminating dead code, yadda yadda. Writing a retrospective specification !!!

And it's the pleasure of leaving the code in a much better state for the people who come after you.

Cheers,
Wol

Legacy projects (was: COBOL programmers)

Posted Nov 21, 2025 14:15 UTC (Fri) by farnz (subscriber, #17727) [Link]

In general, the places that employ in-house programmers are very happy for you to refactor the legacy code - they have a certain amount of necessary change they have to do each year (things like complying with new regulations, or fixing bugs that don't show up until you have an end date after 2050), and they want that necessary change to happen quickly.

They recognise that change carries a risk of bugs, but they also recognise that it's better to have a weekly small chance of a bug (whether caused by a refactor, or caused by a required change) than a bigger chance of a bug when a required change is made. And they're hopeful that, by getting test cases written for each bug found when refactoring is done, they'll eventually reach a point where the test suite is big enough to let them rewrite in a new language (Java, Python, Go, TypeScript, whatever) without hitting the same issues previous rewrites have had.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds