this post was submitted on 20 May 2024
204 points (96.4% liked)

Programmer Humor

31230 readers
133 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 

cross-posted from: https://lemmy.cringecollective.io/post/9716

Maybe some ALGOL 58 while we're at it too.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 43 points 1 month ago (9 children)

COBOL is actually not that bad. It can work with SQL, it can have unit testing/integration testing. It can even go on the web (LOL).

But in all seriousness, the bad part about COBOL is lack of context. Most code that is in COBOL has not been touched in decades. And no one is willing to modify because of serous consequences (AKA job ruining errors) that can occur.

I worked with it in insurance and transportation. In both cases, the COBOL was actually pretty solid...but we didnt know WHY we were doing the operations.

[–] [email protected] 16 points 1 month ago (6 children)

the old languages still have their fans – and COBOL, Fortran, Ada, and Lisp are still holding strong in their respective niches

[–] [email protected] 14 points 1 month ago (1 children)

Lisp variants like Clojure are being used for new projects (e.g. Logseq) but I'd be surprised to hear of anyone choosing COBOL for a greenfield project.

[–] [email protected] 10 points 1 month ago* (last edited 1 month ago)

Yeah the only reason someone should learn COBOL is job security and potentially making a living moving things over. No reason to start a project in the lang. You can make flat files into ODBCs nowadays.

I suppose the ability to be left alone because everyone is afraid the COBOL person leaves and the company goes under is a good reason :)

load more comments (4 replies)
load more comments (6 replies)