Why didn't COBOL evolve more successfully?
FORTRAN, OTOH, has survived precisely because it--and more importantly, related tools, esp compilers--has evolved to solve/overcome many (certainly not all!) of the sorts of pain-points you describe, while retaining the significant performance edge that (IMHO, ICBW) prevents challengers (e.g., Python) from dislodging it for tasks like (e.g.) running dynamical models (esp weather forecasting).
> COBOL is used by organizations that suffer fr...
Tom Roche<noreply@blogger.com>
2020-04-08 00:15:25.622000-04:00
> COBOL is used by organizations that suffer from high amounts of technical inertia, which makes the language a kind of bellwether for the rest of the organization. [...] This is a consequence of very large organizations with regulatory advantages.
I misspent the mid-noughties at a Giant Acronym for which banks are a major [host](https://en.wikipedia.org/wiki/Host_(biology)) genus. While there, I'm fairly sure I heard at least 3 different versions of [this post's predecessor]({filename}/blog/2020/04/2020_04_07-the_cobol_problem.rst), all given by quasi-academic manager/mandarins sufficiently up-the-food-chain that junior/grunt software engineers (like me) were paid to Sit and Listen (and eat snacks :-) My group built IDEs designed to make big bucks [^Hx14] help bankers wrap, refactor, and ultimately replace their COBOL.
(I also once heard it said there--I have no idea if it's true, or who has ever studied this sort of thing--that CICS is the single most profitable piece of software ever written. And still earning.)
My impression (from a long spatiotemporal distance, and which again is open to your empirical correction) is, banks *did* lotsa better-engineered wraps and extensions. But when it came to getting dirty with the COBOL base, banks just maintained, because offshoring was--and, IIUC, remains--sooo much cheaper. Not just because Indians (et al) cost less, but also because they were/are the only folks getting trained in not just COBOL but the whole 370-390-Z ecosystem.
So my guess (YMMV) is, no change until boolean-OR (1) cheap labor gets lots less cheap (2) governments/quangos (e.g., standards organizations) with teeth start regulating software the way they currently do other economically-significant products. But I'd be interested to read your 2030 followup on this topic ... presuming we all get there :-)
Just noting that this opinion piece was especially...
crsevern<noreply@blogger.com>
2020-04-10 14:08:16.605000-04:00
Just noting that this opinion piece was especially topical for me as I embark on trying to wrap a Medicare COBOL program in Python. No way I'm touching the COBOL source.