this post was submitted on 01 Oct 2024
90 points (95.9% liked)

Programming

17507 readers
9 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 23 points 1 month ago* (last edited 1 month ago)

I knew a woman whose sole job was maintaining COBOL servers for IBM. She did it for close to 20 years before they updated those servers a few years ago. Not even her supervisor knew how to check her work. lol

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

It naturally contains some of the buzzwords of the time, such as fourth-generation programming language (4GL). If you’re not familiar with that term, suffice it to say that the Wikipedia page lists several examples, and Cobol has outlasted most of them.

Lots of 3GL outlived most 4GL languages, C, C++, C# Java, Ruby, Python, and even newer languages like Rust and Go are 3GL. In fact so did plenty of 2GL (assembly languages).

Programming language generations are about usage and level of abstraction not about being obsolete.

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

Is Forth a 4GL?

Badum tish. (Sorry)

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

Unfortunately, despite its name, it's a Thirth Generation Programming Language (you asked for it).

[–] [email protected] 4 points 1 month ago

I know. I just couldn't resist the allure of the dad pun.

[–] sukhmel 7 points 1 month ago

And COBOL is listed as third-generation on Wikipedia, too.

I now remember reading about this concept of generations in a book about Ada, it seemed fascinating then but turned out to not be as good as expected 🥲

Also, Unix Shell is listed as 4GL example. There are SPSS, MATLAB, R, and Wolphram Alpha in the same list of examples, that kind of shows where 4GL went today.

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

Brings back memories of using PROIV

[–] [email protected] 14 points 1 month ago

I was part of a team that was trained in COBOL to help update code in time for Y2K. We’ve been headhunted by the same company several times in the last ten years to further update and maintain the same code, originally written in the mid-1970s. I’m now 56, and I suspect that code base will live at least as long as I do.

[–] [email protected] 6 points 1 month ago

My great uncle worked in cobol on a Ge225 for the us army and then several banks. To program they had to print them out on punch cards. Once you loaded the programs they then had to set up a completely different algorithm for each bank as it sent in data because nothing had been standardized and they each had their own system. Once you did set up the banks’ approved formulas in their module of code, this computer could do operations on the data coming in over a connection. These computers were already on a phone line to the banks way before Internet was a concept!

Here’s a fun manual from the successor called the GE 235. http://s3data.computerhistory.org/brochures/ge.235.1964.102646091.pdf

[–] [email protected] 3 points 1 month ago

I wrote COBOL years ago.

[–] [email protected] 1 points 1 month ago

Ironically I just picked up a book from the 80s on programming COBOL to do as a fun challenge (assuming I ever get started)