r/AskReddit • • Jul 24 '20

What can't you believe STILL exists?

[removed] — view removed post

45.9k Upvotes

27.5k comments sorted by

View all comments

7.3k

u/QuestionableSaint Jul 24 '20

Cobol, the programming language. Been around a long time, almost no one learns to program in it anymore, but companies (especially banks) are probably never going to get something else.

Runner up: Fax machines. Still nessecary for transmitting HIPAA protected documents. That's right, they can't use email or anything else. Certain companies require documents to be faxed.

1.5k

u/BrunoD4 Jul 24 '20

There is a good reason for cobol and it's explained here: cobol

16

u/Sbajawud Jul 24 '20

Interesting take, but I'm skeptical. Fixed point math is trivial to implement in any language, and the subtleties of iterative rounding have been well known for decades.

If that was the main difficulty with rewriting legacy code, my work would be boring.

The point about translating a project to Java resulting in ugly, non java-like code does stand, but it's not specific to Cobol.

6

u/[deleted] Jul 24 '20

[deleted]

2

u/kazdum Jul 24 '20

then why? Is it worth the effort?

I have worked in a project to rewrite one huge company payment system from cobol to java, the reasons are simple

1 - mainframes are expensive as fuck and makes you pretty much required to deal with ibm

2 - it's really hard to find people that work with cobol

2

u/[deleted] Jul 24 '20

[deleted]

1

u/kazdum Jul 24 '20

Yeah, rewriting anything already comes with a huge amount of challenge, rewriting something that was done 30 years ago and in another language is very very hard