this post was submitted on 21 Jan 2024
1347 points (99.4% liked)

Programmer Humor

19551 readers
1330 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] AnAngryAlpaca@feddit.de 11 points 9 months ago* (last edited 9 months ago) (1 children)

No wonder COBOL programmers are paid a lot, because what would be a 1-liner for "hello world" in other languages looks like this in Cobol:

IDENTIFICATION DIVISION.
PROGRAM-ID. IDSAMPLE.
ENVIRONMENT DIVISION.
PROCEDURE DIVISION.
    DISPLAY 'HELLO WORLD'.
    STOP RUN.

This is already $6000 worth of code right there!

[–] JohnnyCanuck@lemmy.ca 5 points 9 months ago (1 children)

I wonder how much open source COBOL is out there for LLMs to harvest.

[–] CanadaPlus@futurology.today 6 points 9 months ago* (last edited 9 months ago)

The thing people always overlook is that these legacy systems are only still running because they're super important. Nobody's hiring a junior COBOL dev to maintain NORAD, and hopefully nobody's contemplating putting ChatGPT in charge either.

The move if you want this kind of job is to learn a language that's not quite a dinosaur yet, and have 20 years experience in 20 years. Perl or PHP maybe.