this post was submitted on 16 Dec 2024
156 points (94.3% liked)

Programming

17651 readers
410 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 32 points 1 day ago (5 children)

how to obtain this 'last person that knows cobol' title with whatever language goes extinct next?

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

I'm a vba wizard, do not tempt me into waiting until it's at the state of cobol

[–] [email protected] 34 points 1 day ago (2 children)

you could just learn cobol. it's not going anywhere, unfortunately

[–] mesamunefire 31 points 1 day ago

As someone who has worked with it, it's not too bad. Lots of $$ if you know someone.

The biggest issue (that she goes into), is the lack of context. Why is the thing doing what it is doing is the hardest part

[–] [email protected] 7 points 1 day ago (3 children)

Like could I learn it enough to obtain a real job tho? That pays real money I mean?

[–] [email protected] 22 points 1 day ago (1 children)

You could most likely find some damn spicy contracts. The real question is, is it worth it?

You're going to retrofit some old code to fix an upcoming date bug, or try to make some changes wrapped around security vulnerabilities. But these systems we're relying on, they're in banks, air traffic control, and in hospitals, we're not just depending on these boxes but critically depending on these boxes. There's almost nobody sitting around to give you a second set of eyes on the code, probably almost nobody capable of doing proper QA on the systems you're working on.

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

Every attempt at dissuading me only makes the fun of the challenge more enticing.

None of this matters as I have no work experience--only hobby crafting.
My point is that there will always be people willing to try and the more you tell us "you don't want to" the more us not so privileged with work-experience continue dreaming with deeper allure

[–] [email protected] 2 points 14 hours ago

Oh, I'm not trying to talk you out of it, I'm just making sure that you see all sides of the scenario.

I looked at some of the Y2K patches, I don't strictly know cobol either , but it's not that hard to read.

You'd think that code lying around would be refined as they had limits on space and everything was so mature. It's still pretty trashy :)

[–] [email protected] 6 points 1 day ago (2 children)

good cobol programmers are probably the highest paid programmers there are. mostly because there are so few of them and the systems are so critical.

but like... it's not going to be fun. cobol as a language is extremely verbose, and you're not going to actually develop anything. it's just fixing compatibility problems and y2k issues all day.

[–] [email protected] 2 points 16 hours ago (1 children)

getting paid to code anything is a dream I'll have til I get to the graveyard.
I think the privileged are cursed to never understand this somehow

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

the market is screaming for talented developers. get in there!

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

Sure are a lot of layoffs in the tech industry as a whole if you aren't trolling

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

if you're looking at web stuff, sure. that market is saturated. i've worked in mining, manufacturing and vehicle industries and they're always looking for people.

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

So very select and rare markets are screaming for developers...

Looks at OP with shocked pikachu face

[–] [email protected] 3 points 13 hours ago

i am currently working for a company that employs over 200 000 people. this is not a rare market.

[–] bradboimler 2 points 23 hours ago* (last edited 23 hours ago) (1 children)

I am a professional software engineer. My favorite ecosystem is the Java one which may explain some things.

Why is verbosity such a bad thing? Especially in the context of maintaining something someone else wrote? I would much rather maintain old Java than say, old Perl. I want big long names. So I have a better idea of what they were for! I can pretty much read any line of Java from anywhere and have a very good idea what it's actually doing.

Sure, it's more of a pain to type but as a kid one of the best investments I made in myself was to take a typing class. I did this way before I discovered my passion for programming. I can type fast. And I can make my editors type boilerplate for me.

Edit: Give me the time to learn it (I'm confident I can learn it fast) and the ability to work remotely and I would jump at the chance. I can do the fun programming (in Java) in my spare time.

[–] [email protected] 4 points 22 hours ago* (last edited 22 hours ago) (1 children)

Why is verbosity such a bad thing?

oh the names aren't long. cobol has keyword alternatives for all operators and all numbers up to 20. since the language was designed for non-programmers, code in the wild follows no paradigm and mixes these alternatives freely. names are usually kept as short as possible.

there's also a lot of boilerplate required for each file wrt the actual structure of the sections, assembly style. sure most of this can be automated with tooling but there's no tooling available. the cobol people have mainly worked in their own sphere and not been included in the tooling explosion of the last 15 years.

here's an example of some well-written cobol. most of it is nowhere close to this consistent, or source-controlled for that matter.

keyword count is a quick but bad metric of language complexity. thanks to all the alternative syntaxes cobol allows, it has around 300 keywords.

[–] bradboimler 2 points 22 hours ago (1 children)

What would scare me the most is the bad tooling. I do rely on my tools to search for references, etc. I wonder if it's even possible to write a good analyzer for COBOL. Verbose operators and literals wouldn't scare me at all.

Still would jump at the chance. It would have to be remote and I would strongly prefer being the only engineer touching the code.

[–] [email protected] 2 points 22 hours ago

you're not going to get a position remote if your client is a bank or some other entity that does cobol. that shit is running on an airgapped machine running a vm of a machine from the 90s running a vm of a machine from the 70s. if you're really unlucky the source will be on punch cards because they didn't invest in a machine with storage and asked the VM developers for the same workflow as before

[–] Cort 2 points 1 day ago (1 children)

I'd bet you will probably work for experience or exposure and very little money on the first job or two you take, since you don't have any hands on experience. But after that it's kind of a name your own price gig.

[–] [email protected] 5 points 1 day ago

I know you're joking, but it's one of the only kinds of jobs I can picture motivational enough to pursue

[–] [email protected] 10 points 1 day ago (2 children)
[–] [email protected] 6 points 1 day ago (1 children)

Like, 70% or more of the web runs on PHP. That's also not going anywhere anytime soon.

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

Right. At least 70%. I've heard it estimated as high as 97%.

And it's losing popularity with new development, (and with new developers) while WordPress, Drupal and WikiMedia are everywhere.

Perfect recipe to be the next Cobol.

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

Oh I see what you're saying.

Dang, maybe I should learn PHP...

[–] RedWeasel 8 points 1 day ago (1 children)
[–] [email protected] 5 points 1 day ago (2 children)
[–] [email protected] 7 points 1 day ago (1 children)

all of these are still used in modern applications. i suggest Forth.

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (3 children)

I bet there's still some FORTRAN in use at NASA/JPL.

Alternatively, I'm pretty sure key parts of Excel were written in x86 assembly. Dunno if that's still true.

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

Fortran is everywhere. it got a new release less than ten years ago.

[–] [email protected] 5 points 1 day ago

When I was going to university in the early 90s I was taking computer programming for business administration, COBOL & FORTRAN, could not drop it quick enough. Such an old boring language (never stuck with programming, maybe they're all like that).

Bunch of my class mates did pretty well with the whole Y2K issue though.

[–] Pieisawesome 2 points 1 day ago* (last edited 1 day ago)

Numpy uses Fortran

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

I doubt it. It's still used in a whole lot of medical and banking applications where there's a lot of text manipulation since it's really good at that (HL7 and other EDI stuff for instance).

[–] [email protected] 2 points 1 day ago

Yeah. There's always at least one mission critical Prel script that no one can read.

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

ADA or Jovial, I’m guessing.