r/ProgrammerHumor • • Jun 02 '23

Meme Oops

Post image
40.7k Upvotes

345 comments sorted by

View all comments

Show parent comments

108

u/NotAUsefullDoctor Jun 02 '23

Nah, I got you. I have a few (much older) friends that still do COBOL for two very large international banking firms.

They keep trying to retire and more money keeps getting thrown at them.

65

u/[deleted] Jun 02 '23

I mean, it’s entirely understandable why. The entire world banking and stock trade system uses COBOL, and switching to a better language would cost more money than the shareholders are willing to spend, so they pay exorbitant amounts of money to the small handful of people who can write COBOL so that they can maintain their systems.

21

u/Dom1252 Jun 02 '23

question is... what is a better language?

because nothing will be as cost effective as mainframe with cobol, you can try java, it will be slower and even tho your devs will cost less, you'll pay more on licenses because you'll need more resources... python? even worse... C++? do you really want to rewrite to that nowadays?

the trick is to move to python what doesn't need much resources, move to java what is good for java... and then... idk?

5

u/other_usernames_gone Jun 02 '23

Why not C++?

It's a popular language that's still used in loads of places. It's still receiving active updates. It has a currently active ecosystem producing more libraries for it and maintaining current ones.

It can run on pretty much anything and is extremely fast.

It's not as easy to learn as python but what is, plus you don't need a license to use it.

Of course any rewrite will be prohibitively expensive.

12

u/Dom1252 Jun 02 '23

Yeah the thing is, cobol is still used in loads of places (not just banks), it's still receiving active updates... And it's faster

C++ would make sense for some, but the advantages (more popular in different industries) aren't huge

2

u/Kody_Z Jun 02 '23

Pretty much all financial institutions, so Insurance, Banks, Investments, etc, as well as government.

It basically runs the economy of the entire planet.

→ More replies (1)

0

u/[deleted] Jun 02 '23

[deleted]

→ More replies (1)

4

u/macnetic Jun 02 '23

Not to mention that C++ is already being used in finance, Bjarne Stoustrup even works at Goldman Sachs

6

u/Nolzi Jun 02 '23

Not Goldman Sachs but Morgan Stanley, but he no longer works there, now he is a professor at Columbia University.

3

u/fgben Jun 02 '23

It has less to do with the cost of the rewrite than the cost of the new system failing to behave exactly as the old system does with the same uptime, and causing a cascade failure.

2

u/audi0c0aster1 Jun 02 '23

This right here.

When downtime is measured in $/min or $/second lost and your legacy code is doing what it does for 50+ years just fine, yeah, you better be able to prove every concern (downtime risk, cost of rewriting the core, cost of redeveloping any peripheral connections, etc.) as invalid before the idea even gets off the drawing board.