this post was submitted on 16 Dec 2024
166 points (93.7% liked)

Programming

17658 readers
254 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 !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] tisktisk@piefed.social 34 points 2 days ago (5 children)

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

[–] lime@feddit.nu 36 points 2 days ago (2 children)

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

[–] mesamunefire@lemmy.world 34 points 2 days 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

[–] tisktisk@piefed.social 8 points 2 days ago (3 children)

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

[–] rumba@lemmy.zip 25 points 2 days 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.

[–] tisktisk@piefed.social 1 points 1 day 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

[–] rumba@lemmy.zip 4 points 1 day 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 :)

[–] lime@feddit.nu 7 points 2 days ago (3 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.

[–] mesamunefire@lemmy.world 1 points 1 day ago

And most places are looking to get the process out of COBOL. So essentially you putting yourself out of business, slowly.

[–] tisktisk@piefed.social 2 points 1 day 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

[–] lime@feddit.nu 2 points 1 day ago (1 children)

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

[–] tisktisk@piefed.social 2 points 1 day ago (1 children)

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

[–] lime@feddit.nu 2 points 1 day 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.

[–] tisktisk@piefed.social -1 points 1 day ago (1 children)

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

Looks at OP with shocked pikachu face

[–] lime@feddit.nu 4 points 1 day ago (1 children)

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

[–] mesamunefire@lemmy.world 1 points 1 day ago

Especially for senior Devs. It's been pretty good eating last year or so. AI means a lot of mediocre code that needs experienced devs to de-turdify projects that are successful on paper but we're not built of anything other than a couple of users. Fun times.

[–] bradboimler@lemmy.world 3 points 2 days ago* (last edited 2 days 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.

[–] lime@feddit.nu 5 points 2 days ago* (last edited 2 days 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@lemmy.world 2 points 2 days 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.

[–] lime@feddit.nu 3 points 2 days ago (1 children)

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

[–] mesamunefire@lemmy.world 1 points 1 day ago

True most COBOL is in person only. At least from what Ive seen. Big detriment but most systems are on physical computers...so gl!

[–] Cort@lemmy.world 2 points 2 days 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.

[–] tisktisk@piefed.social 5 points 2 days ago

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

[–] MajorHavoc@programming.dev 10 points 2 days ago (2 children)
[–] AlecSadler@sh.itjust.works 6 points 2 days ago (1 children)

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

[–] MajorHavoc@programming.dev 5 points 2 days 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.

[–] AlecSadler@sh.itjust.works 4 points 2 days ago (1 children)

Oh I see what you're saying.

Dang, maybe I should learn PHP...

[–] mesamunefire@lemmy.world 1 points 1 day ago

I liked laravel. It's very rails like.

[–] RedWeasel@lemmy.world 8 points 2 days ago (1 children)
[–] elgordino@fedia.io 5 points 2 days ago (2 children)
[–] lime@feddit.nu 7 points 2 days ago (1 children)

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

[–] SanctimoniousApe@lemmings.world 3 points 2 days ago* (last edited 2 days 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.

[–] xzot746@sh.itjust.works 5 points 2 days 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.

[–] lime@feddit.nu 2 points 2 days ago* (last edited 2 days ago)

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

[–] Pieisawesome@lemmy.world 2 points 2 days ago* (last edited 2 days ago)

Numpy uses Fortran

[–] tiredofsametab@fedia.io 4 points 2 days ago (2 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).

[–] mesamunefire@lemmy.world 1 points 1 day ago

I made good money on EDI.

[–] MajorHavoc@programming.dev 2 points 2 days ago

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

[–] sirico@feddit.uk 1 points 1 day ago (1 children)
[–] tisktisk@piefed.social 3 points 1 day ago

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

[–] DirigibleProtein@aussie.zone 3 points 2 days ago

ADA or Jovial, I’m guessing.