this post was submitted on 16 Dec 2024
168 points (92.4% liked)

Programming

17677 readers
62 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
top 50 comments
sorted by: hot top controversial new old
[–] tiredofsametab@fedia.io 51 points 1 week ago (5 children)

I always wonder if I should just learn COBOL and try to just do a few juicy contracts a year and focus on my other pursuits (farming and considering making a game, as well as vacation of course) the rest of the year.

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

My friend's mom gets called back for COBOL stints at major US banks all the time. I don't know how long it'll last, but apparently the list of people to select from and bring in is ridiculously short.

load more comments (2 replies)
[–] FizzyOrange@programming.dev 11 points 1 week ago (1 children)

I wouldn't recommend it. I actually looked up COBOL jobs a while ago, and while they paid more, it was only like 20% more - not enough to make it worth it IMO.

[–] tiredofsametab@fedia.io 9 points 1 week ago

I live and work in Japan where dev salaries are much lower so, if I could just get a contract gig in USD, that would be pretty big for me especially with 1usd being 150 JPY or more

[–] syklemil@discuss.tchncs.de 10 points 1 week ago (1 children)

Eevee's heteroglot entry for COBOL is interesting, coming from … practically anything else.

There's also someone doing AOC in ABAP (basically SAP COBOL) who posts over in the AOC subreddit. I've looked at them and ... mhm, I know some of these words!

[–] tiredofsametab@fedia.io 13 points 1 week ago (3 children)

I've fallen down the rabbithole. I'm reading a free course (from 2001ish) on Cobol.

COBOL is Maintainable

I now question everything. I mean, technically, basically anything is maintainable in that it's possible...

[–] syklemil@discuss.tchncs.de 5 points 1 week ago* (last edited 1 week ago)

I mean, the fact that more than half-century-old COBOL continues to be maintained does speak to the fact that it is maintainable. That might also be part of what makes COBOL painful to the average developer: You're not only dealing with a language that first appeared in 1959, designed for machines that were very different than modern computers; you're also dealing with over a half century of legacy code, including all that means for Hyrum's law.

Unfortunately maintainable and pleasant to work with are rather distinct concepts.

[–] 0x0@programming.dev 5 points 1 week ago

Just remember the Voyager spacecraft are still out there... and being maintained.

load more comments (1 replies)
[–] Anticorp@lemmy.world 9 points 1 week ago* (last edited 1 week ago) (2 children)

Just knowing the language isn't enough to make the obscene money. You have to also be very familiar with the systems that use the language, and that takes years.

load more comments (2 replies)
[–] mutant_zz@lemmy.world 7 points 1 week ago (3 children)

I don't know if this is realistic. Considering making a game is a full time job.

[–] Mikina@programming.dev 6 points 1 week ago (5 children)

This isn't true. If you can get by while working part-time, you still have at least 40 hours every two weeks to work on your game.

It's one of my biggest regrets, that after school I immediately jumped into full-time job, even though I realistically could live comfortably with 1/3 of the pay I was getting, since young+no familly+no car+shared living reduces your living costs by a very large margin. My best friend did that and has been working only 2 days per week since. I was trying to keep up with him, working on our game in my free time, but it's simply not feasible to build on top of 40 hours per week of regular job, and then do anything meaningful on your side projects. I barely struggled to get myself to do at least 20h of work per month on the project, missing deadlines, and it sucked.

He, on the other hand, kept our game project afloat and moving forward, with 60+ hours per month, while also writing and running a large LARP for 100 of players, directing his own theater group, and in general successfully working on a lot of projects, including several smaller games.

The best advice I can give, if you want to be a game developer, is to 1) not work in gamedev and 2) work part-time. The IT salary should net you a comfortable life even on part-time pay, assuming it's not gamedev. Smaller studios will have difficulties keeping afloat if they need to pay you, and in larger AAA studio you will be the same code-monkey crunching JIRA tickets as you would be in any IT job, but for a lot less money. And the design freedom you get when your livelyhood doesn't depend on your art's success, be it games or anything else, is totally worth it.

For example, this game has been developed solely in free time, without anyone getting paid for working on it. It's not AAA and the development takes a long time, but it definitely doesn't need to be a fulltime job.

load more comments (5 replies)
[–] tiredofsametab@fedia.io 6 points 1 week ago

It won't be my first and I'm not going super ambitious or AAA. If it takes me 5 years to do it, that's fine.

I wrote my first game in straight C with no laptop so literally writing code on paper when not at a PC which I would later type in later

load more comments (1 replies)
[–] tisktisk@piefed.social 35 points 1 week ago (10 children)

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

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

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

[–] mesamunefire@lemmy.world 35 points 1 week 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 1 week ago (4 children)

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

[–] rumba@lemmy.zip 25 points 1 week ago (2 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.

load more comments (2 replies)
[–] lime@feddit.nu 7 points 1 week ago (13 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.

load more comments (13 replies)
load more comments (2 replies)
[–] MajorHavoc@programming.dev 10 points 1 week ago (2 children)
[–] RedWeasel@lemmy.world 8 points 1 week ago (1 children)
[–] elgordino@fedia.io 6 points 1 week ago (2 children)
[–] lime@feddit.nu 7 points 1 week ago (4 children)

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

load more comments (4 replies)
[–] tiredofsametab@fedia.io 5 points 1 week 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).

load more comments (2 replies)
[–] AlecSadler@sh.itjust.works 6 points 1 week 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 1 week 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 1 week ago (1 children)

Oh I see what you're saying.

Dang, maybe I should learn PHP...

load more comments (1 replies)
load more comments (8 replies)
[–] MonkderVierte@lemmy.ml 30 points 1 week ago* (last edited 1 week ago) (3 children)

For non-video people like me: The World Depends on 60-Year-Old Code No One Knows Anymore

The real headline behind it: IBM plans to update COBOL via Watson AI to Java.

[–] MajorHavoc@programming.dev 21 points 1 week ago* (last edited 1 week ago) (1 children)

This is delicious. I hope they hurry up, and I hope they do it in a really large really public context.

I've had this conversation, but today's generation of AI won't:

"No, I can't just do a one for one translation. Some of the core operating principles of the language are different, and the original intent needs to be well understood to make the appropriate translation choice. If I just translate it one to one, with no understanding of the business context. you're going to suffer from years off debugging subtle but impactful bugs."

Get on with it IBM. Let's light this dumpster fire so we can all bask together in it's glow (and smell).

There may be a day coming in the next 100-1000 years when a learning algorithm is a suitable replacement for an expert engineer, but that day has not arrived (and the early evidence of that impending arrival hasn't arrived, either. I haven't seen evidence of AGI experiments with even toddler reasoning levels, so far. Toddler level reasoning wil come before AGI with infrastructure deployment skills, which itself is probably coming before AGI with expert business logic diagnostic skills. This could all be 20 years or 1000 years away. But we will probably see LLMs running deeply insightful life changing management workshops sometime roughly next week, since a trained parrot could do that. If we have an AGI that can meaningfully reason with small numbers in the next 20 years, we will be making great progress and on track for the rest to arrive - someday. If not, then we're probably waiting on a missing computational breakthrough.)

load more comments (1 replies)
[–] cupcakezealot@lemmy.blahaj.zone 10 points 1 week ago

plans to update COBOL via Watson AI to Java.

it went from bad to worse

load more comments (1 replies)
[–] hanrahan@slrpnk.net 21 points 1 week ago (3 children)

At Uni doing CompSci in the mid 1980s, we were told the likes of Cobol was dead, and we were taught Pascal :)

[–] MajorHavoc@programming.dev 16 points 1 week ago (2 children)

Cobol is dead.

And I think it's about time to start telling people Java and Perl are dead, so they can marvel at how much Cobol and Java and Perl are still doing in production after death.

[–] nova_ad_vitum@lemmy.ca 18 points 1 week ago (2 children)

It's dead in a similar way to Latin where nobody learns it as a first language. Everyone who learns it does so for a specific purpose.

In Canada there are large organizations (including many in the government) who subsidize college courses on Cobol just to be able to get some fresh talent to learn it. In some cases they'll pay the tuition for the course entirely. Huge systems at the center of critical government functions still depend on Cobol .

[–] MajorHavoc@programming.dev 4 points 1 week ago* (last edited 1 week ago)

"Java/Cobol is dead like Latin"

I love that. I'm going to steal it.

Edit: And I acknowledge that when I say that about Java, I'm just trying to wind people up. Java is losing popularity fast, but is still a pretty common first language.

load more comments (1 replies)
load more comments (1 replies)
[–] AnUnusualRelic@lemmy.world 4 points 1 week ago

They could probably tweak Watson to turn Cobol into Pascal.

load more comments (1 replies)
[–] Blackmist@feddit.uk 17 points 1 week ago (1 children)

Maintaining old code is the real drawback. Surely nobody finds that fun.

COBOL is just the turd on the shit cake.

[–] bradboimler@lemmy.world 9 points 1 week ago (1 children)

Pay me to do it remotely and I'll jump at the chance

[–] theRealBassist@lemmy.world 7 points 1 week ago (2 children)

Friend of mine maintains COBOL for an insurance company. He lives on the opposite side of the country from his business, and is only on call one weekend a month.

Dude got hired before he even graduated, getting paid 70k, and gets to live wherever he wants.

I would kill for that lol

[–] naonintendois@programming.dev 13 points 1 week ago

70k is likely way underpaid for dealing with COBOL. I've heard of people making 200k for being on-call

load more comments (1 replies)

The world's not too bright, then, is it?

🤷

[–] Anticorp@lemmy.world 9 points 1 week ago (1 children)

Some people know it, and they make obscene salaries with their knowledge.

load more comments (1 replies)
[–] beefbot@lemmy.blahaj.zone 6 points 1 week ago

Maybe “no one” can read it because “everyone “ posts YouTube links with some SEO bullshit shouting at me like a fucking tabloid, instead of a link to the readme of the video (transcript)? I know I’m old man shouts at void here but STFFFFFFFFU. Tldw.

[–] 0x0@programming.dev 5 points 1 week ago (1 children)

Still on my to-learn list.

load more comments (1 replies)
load more comments
view more: next ›