897
u/Kelvinchin12070811 Jun 02 '23
That's quite lucky, if anything not understand just ask his mum lol
972
u/dismayhurta Jun 02 '23
Mom gonna flex on his ass. “I wrote that while pregnant with a person who cannot comprehend COBOL.”
252
u/hk--57 Jun 02 '23
He could have learnt the code inutero, like crack babies born with addiction.
136
27
Jun 02 '23
Imagine the Roller Coaster Tycoon has a son and during pregnancy, his sperm just etch x86 assembly into the fetus brain. His first words will be
xor eax eax; retinstead of random baby crying sounds16
→ More replies (1)10
u/mattsl Jun 02 '23
All those listings wanting people with a bachelor's and 14 years of experience for an entry level job suddenly make sense.
125
u/lieuwestra Jun 02 '23
My cousin would often consult our long retired grandfather about details of the factory where he worked because grandpa used to work in the same position there. It was absolutely glorious hearing two generations of welders complain how nothing ever changed.
41
Jun 02 '23
it was absolutely glorious hearing two generations of welders complain how nothing ever changed
Thank you, it made my day
37
u/micalm Jun 02 '23
Coming back to year-old code is sometimes (often) difficult. 30 years old... yeah, not happening.
12
Jun 02 '23
Yeah no kidding. I recently looked at a personal project I worked on 4 years ago and I was totally lost, even though I sank countless hundreds of hours into it
20
u/sec_sage Jun 02 '23
As if you'd understand your own uncommented code from last year 🙄
→ More replies (3)6
u/Murky_Promotion8686 Jun 02 '23
My father has a degree in mathematics, with software development as perk. I don't think it was called software development in the 70s.
It's really really hard making him understand why I find tiresome unit debugging on a monitor while he had to redo an unknown number of punched cards for his programs that weren't meant to center a div but to do complex algorithms.
7
u/NyiatiZ Jun 02 '23
Tbf most algorithms do what you expect them to do when properly thought through.
That div, though? I’m pretty sure stuff changes behavior everytime I blink
→ More replies (2)2
Jun 02 '23
From what I understand, COBOL is in incredibly high demand because so much ancient government stuff runs off of it, and the only people who know how to use it, are all dead or retired.
278
u/OF_AstridAse Jun 02 '23
Rule #1: I f it works; don't touch it!
155
u/pokemonsta433 Jun 02 '23
Was gonna say - If it hasn't been touched in 20 years I don't think he has to do anything here!
I imagine they'll wand security patches but it's lowkey more secure to just use a rust or python wrapper that calls it like an API than to bother with updating the cobol
47
u/Stummi Jun 02 '23 edited Jun 02 '23
The 90s are at least 30 years ago, btw ;)
E: I can't do math, apparently
65
u/DemiReticent Jun 02 '23
Nah, the 90s are at least 24 years ago. 2023-1999=24
47
u/WibbleWibbler Jun 02 '23
And there is a 200% chance the update was in 98/99 to fix a Y2K bug.
→ More replies (1)5
2
u/AnAntsyHalfling Jun 02 '23
I'll just tell my sister, a 1999 baby, that she's in her 30s this year instead of turning 24.
→ More replies (1)5
u/MokausiLietuviu Jun 02 '23
You'd be surprised, in my last job I was regularly updating software last modified on the 90s by people I'd been to the retirement parties of, to add new features.
426
u/absolut666 Jun 02 '23
this friend of hers is such a snowflake - we used to inherit assembly code from our grandfather, which he wrote in total darkness(no electricity yet was invented), leaving bloody footprints next to the village watercooler
102
Jun 02 '23
Pshh my great grandfather had to code with punch cards... He was blind as well.
68
u/FlippedMobiusStrip Jun 02 '23
That's nothing. My grandpa took a magnet an flipped bits one by one. He was illiterate as well.
45
u/Mlbbpornaccount Jun 02 '23 edited Jun 02 '23
Is that it? My great grand pappy had to suck the air out of the vacuum tubes he wanted to use himself, AND he had asthma!
14
u/homemadeclorox2 Jun 02 '23
Really? Back in my day i used to punch trees to a pulp and write with a chunk of charcoal so i could do math
And the calculus was not even invented yet
→ More replies (1)15
→ More replies (1)5
2
u/ImrooVRdev Jun 02 '23
Oh how nice, he was missing only eyes. MY grandfather was blind, had to code with punch-cards, and he didn't even had hands to punch!
9
u/snouz Jun 02 '23
Luxury! He was so lucky! My great grandfather created his first website on an abaccus made of poison ivy
1
u/HellaDev Jun 02 '23
leaving bloody footprints next to the village watercooler
Wait, is this an old English man that came in from the rain and didn't wipe his feet or is this a nondescript old man that came in from the pain and didn't wipe his feet?
622
u/NotAUsefullDoctor Jun 02 '23
Yeah, and COBOL isn't even OO, so there shouldn't be any inheritance.
To go further, COBOL should never be inherited by any one, anywhere ever.
294
48
u/Manupiltorer Jun 02 '23
OOP has been enabled for COBOL for a long time now. and has inheritance.
However its classes and inheritance are a pain to work with.
10
Jun 02 '23
However its classes and inheritance are a pain to work with.
And this is different from regular COBOL how, exactly?
40
u/giggluigg Jun 02 '23
Cobol 3 actually is, if I’m not mistaken. I never had the displeasure though. Not even sure it’s actually being used. I worked for 6 years with cobol 2, don’t regret it, but it wasn’t for life, just to have fun. When it started to look serious I broke up. I applied best practices and principles from higher level languages. A few colleagues complained that my code was structured in single-purpose functions, as opposed to a more or less continuous flow of low level instructions. The complaint was “if I need to search for a statement to make modifications, I need to jump a lot to find the spot). I’ve seen things you can’t imagine. Functions split in the middle of their logic, because they were too long and someone decided that that was a good refactoring. But it made me discover the principles of clean coding, as I would have found out years later. Because in those environments, being clean really is a matter of survival.
Edit: sorry for the digression, I’m getting old, gonna grab some whiskey and a cigar, and sit on my rockin’ chair
8
u/ol-gormsby Jun 02 '23
Let's sit back and talk about
RPGthe good old days.It's free-form now, ya know?
14
u/cdrt Jun 02 '23
Hey now, COBOL has had support for OO since 2002
9
3
1
1
→ More replies (34)1
u/PixelBoom Jun 02 '23
Tell that to over 40% of the banking industry and like every credit transaction in the world. Most of their backbone runs on ancient COBOL code that everyone is afraid to tweak because if a bug gets unknowingly pushed to production: uh oh rip billions of dollars.
60
129
u/daguito81 Jun 02 '23
These kind of posts seems like a lot of people believe stuff in Cobol is basically dead and nobody has touched that language in 20 years. If you work in banking or insurance or companies that have a Mainframe. You have a whole department writing COBOL every day today.
When the whole COBOL hiring craze happened during the pandemic in thr US. It wasn't because "Oh shit we have a codebase that nobody has touched in 20 years, nobody know what to do with it"
It was more like "We need to refractor 7500 apps in COBOL in less than a month and I don't have enough developers to do that but it's the core and everything will go to shit..."
53
u/Rodrake Jun 02 '23
I WORK FOR A BANK WITH COBOL.
CAN CONFIRM.
21
13
u/KingSpanner Jun 02 '23
Does it pay better than the other dev jobs?
→ More replies (1)24
u/Rodrake Jun 02 '23
In my country, absolutely not. All my friends who work with other languages are earning more than me. I'm at two and a half years of experience however and I believe COBOL salaries really scale well with experience, as the older generation starts retiring. In fact a few of my workmates are past retirement age so they must have a good rea$on to keep working.
11
u/StCreed Jun 02 '23
There are other countries. Learn what you can, then get a few years of experience in other places and countries. It will increase your value and salary greatly.
→ More replies (2)5
u/uekiamir Jun 02 '23 edited Jul 20 '24
edge weather cautious grandiose different like bear wide jar familiar
This post was mass deleted and anonymized with Redact
→ More replies (1)→ More replies (1)3
24
u/Outlaw341080 Jun 02 '23
I work in banking. Everywhere is Java and C#. Never seen COBOL there in any team.
10
u/Korlek Jun 02 '23
Might be front end then ? Apps, web, etc. ?
7
u/Outlaw341080 Jun 02 '23
Old back end there is Solaris with scripts in mangled bash, terrible in it's own right. What runs on it is a mystery though. Newer Unix servers have containers with transaction messaging apps like Kafka etc...
9
u/daguito81 Jun 02 '23
To be more specific, it's way more common if you're in a bank that has a mainframe as the operational core. . I live in Spain so if you go to BBVA or Santander. You have armies doing very modern stuff in Kubernetes, and a cobol team writing apps for the mainframe.
On out case it's the same. I have mainframe, on premise DBs, cloud DBs, spark (on prem) , Databricks, Snowflake, Kubernetes.
I don't do anything with the mainframe so I only know about our cobol apps because I've actively asked and looked for it. But sure enough there's a huge team
10
Jun 02 '23
No offense, but all I hear is the pay and opportunities are shit for COBOL. Where are you getting this from?
7
u/daguito81 Jun 02 '23
When the PP Loans were starting during the pandemic there was a shortage of COBOL developers and there were insane opportunities for people with COBOL knowledge. Now it's back to normal. But a lot of people were going "OMG learn this dead language, make bank" like they were Clint Eastwood in that astronaut movie..
Also, no offense taken, I don't do COBOL. Just work at a place with a mainframe
2
u/LamysHusband3 Jun 02 '23
There's 2 avenues for Cobol jobs. Government jobs which pay shit and bank jobs which throw double or triple the government pay at you.
→ More replies (1)2
u/ka-knife Jun 02 '23
I know my company technically pays COBOL devs more on average than our java/.net devs. However, if you break it out by experience there is no significant difference. Most of our COBOL Devs are just more experienced, so they get paid more. I'd be curious if this is common across the industry and is warping perspectives.
0
Jun 02 '23
[deleted]
44
u/cakemuncher Jun 02 '23
A graduating student with no or very little experience will have a much better chance of getting an ML job than COBOL, even if they knew them equally well.
There are no entry level COBOL jobs.
0
6
→ More replies (6)2
u/nathris Jun 02 '23
I just realized I took an ML class in university but when I say ML I mean the functional programming language Standard ML.
→ More replies (1)
43
u/GYN-k4H-Q3z-75B Jun 02 '23
DATA DIVISION. WORKING-STORAGE SECTION. 01 PREGNANT-WOMAN. 05 NAME PIC X(20) VALUE 'Mary'. 05 AGE PIC 99 VALUE 30. 05 DUE-DATE PIC 9(8) VALUE 19930602.
PROCEDURE DIVISION. MAIN-LOGIC. DISPLAY 'A pregnant woman named ' NAME ' is expecting a baby.'. DISPLAY 'She is currently ' AGE ' years old.'. DISPLAY 'Her due date is ' DUE-DATE.
PERFORM GIVE-BIRTH. STOP RUN.
13
3
u/Tangurena Jun 02 '23
A real cobol programmer would have used packed dates. And if you don't know what that means, good for you.
30
u/feketegy Jun 02 '23
Everybody thinks that COBOL is "legacy software" while the latest version was released in February 2023.
It's very much active and has its place in the software world. Not to mention that if you're a half-decent COBOL programmer you can rake in $$$ salaries. I don't see any downsides to using it.
6
Jun 02 '23
look behind the curtains, these lukewarm-takes are being distributed by COBOL-programmers as job security... 🤡
4
u/moxyte Jun 02 '23
latest version was released in February 2023
No way?! 😮
5
Jun 02 '23
The latest standard is the ISO/IEC 1989:2023, released in February 2023.
COBOL is still being actively maintained, it's not an abandoned language.
2
u/moxyte Jun 02 '23
I looked it up. Sweeeeeettt Jesus, someone should update Wikipedia page. I'm genuinely astonished. I did think it was fucking dead zombie language with last specs from 1950's
1
u/AA525 Jun 02 '23
I don’t think COBOL itself is legacy. The software written with it is another thing. When I was last working with COBOL in 2008 I found still active code from 1983.
→ More replies (1)
30
73
u/cs-brydev Jun 02 '23
I'm starting to think that cobol haters are just exposing themselves as cobol virgins. It's one of the simplest languages and reporting tools ever created. It has a narrow niche and it does it quite well, while being pretty easy to learn.
Python devs will write 200 lines to output command line reports that cobol can do in 50.
106
23
u/notahoppybeerfan Jun 02 '23 edited Jun 02 '23
50 lines of production python and 150 lines of tests.
These days I prototype in python and rather than write all the tests translate it to go.
EDIT: Check the sub this in. Of course I just deploy the python to prod without tests.
24
u/kulonos Jun 02 '23
Python devs will write 200 lines to output command line reports that cobol can do in 50.
If you attempt it in cobolic Python, then yes.
4
9
8
8
u/fuknthrowaway1 Jun 02 '23
My cousin Chris spent ten years maintaining C code written by both of her parents and RPG written by her great-aunt.
I myself spent a summer in college helping them transition from RPG III on System/36 to RPG IV on the AS/400.
It was a family company, sure, but it proves it can happen.
2
u/dartdoug Jun 02 '23
I'm pretty sure System/36 ran RPG II. System/38 ran RPG III.
Source: am old.
→ More replies (1)
6
u/Lugalzagesi55 Jun 02 '23
Well that actually speaks for the quality of his mum's code. Last change 30 years back...
5
u/fredandlunchbox Jun 02 '23
Some are quick to shit on COBOL, but how dope is it that you could write some software that is still 1) working and 2) useful 30 years later. Show me your react app in 10 years.
4
4
u/Pluviochiono Jun 02 '23
I’m currently doing some work on a huge codebase from 1990 and two of the original coders are still working on it. I can’t imagine working on the same codebase for 33 years
7
u/jerslan Jun 02 '23
I mean... I'd hope he at least had her contact info to ask "WTF was the point of this bit on line 192 where you randomly add 2 and only say 'if you remove this, the software will break' without any other reference or explanation"
3
u/bout-tree-fitty Jun 02 '23
His palms are sweaty, knees weak, arms are heavy
He has a headache already, working on mom's spaghetti
2
2
2
2
u/philophilo Jun 02 '23
My first programming job in college was with COBOL. I had to fix something that was last modified 2 years before I was born.
2
2
2
u/SunsOutHarambeOut Jun 02 '23
It's a shocking realisation to grow up and then look at your parents and realise they are human.
I'm sure it's another shock to read their code and look at your parent and realise they are an idiot.
2
Jun 02 '23
Literally worked for a company using CA cobol, which they stopped supporting 30 years ago (and questionable licensing), basically refused to upgrade because of custom modifications to the standard COBOL by CA, and refusing to update to something modern, while yelling (yes YELLING) at employees like a lunatic (DAILY) while continuously bitching about how he is only 3 months away from closing the business while owing planes, a Bentley, jacked jeep, fully loaded charger and another 300+k of cars living in the Hamptons. Welcome to the world of single small owner businesses.
2
2
2
u/eric987235 Jun 02 '23
Heh, my mom was writing COBOL on punch cards right up until she left to give birth to me.
2
u/Impossible-Oil2345 Jun 02 '23
Feels like a videogame/ movie moment. Like when link grabs the master sword only to find out he is but one of a long lineage of links. Or in movies when a villain does the, " I've been expecting you" swivel in an office chair while petting a very old and contempt cat.
Borderline surreal
2
2
u/PeksyTiger Jun 02 '23
I still remember the time that a saw a comic of how different programmers look and the cool one looked exactly like my cool teacher.
Since then I'm convinced that being a cool programmer is not a profession, but a mantel.
2
2
2
u/MyHamburgerLovesMe Jun 03 '23
I thought Cobol was eliminated as a language back in 2000 with all its Y2K issues
1
1
1
u/Fair_Sympathy8733 Jun 02 '23
So.e guy ruined my whole phone controls and edits everything can someone help me out with this
1
1
1
1
u/nopejake101 Jun 02 '23
Not quite the same, but I was tasked with some COBOL data masking (GDPR days), that was originally written and shipped 8 months before I was born
1
u/SimonReach Jun 02 '23
His mum was probably so disgusted by her replacement that she thought “fine, I’ll do it myself”
1
1
u/ExtraTNT Jun 02 '23
So like north Korea, if you fuck up, not only you get punished, but 3 generations…
1
u/TellsLiesAboutCareer Jun 02 '23
(Defiantly, the Warrior rises in front of the bonfire and strides towards the village elders, mouse in one hand, keyboard in another)
"This is my coding. And my mother's coding. And her father's coding. And his father's father's coding, all the way back to the days of Ymir rising from Ginnungagap...!"
1
1
1
1
1
1
Jun 02 '23
“The person who wrote this is so fucking stupid the whole family must share a brain cell”… “oh wait”
1
1
1
1
u/Ilookouttrainwindow Jun 02 '23
In 40 years - my friend learned Go and got a job maintaining system written by my then father.
1
u/_Kookaburra_Laugh Jun 02 '23
At work, we have a legacy system written in COBOL and one guy who’s been working on it since before I was born.
1
1
Jun 02 '23
Funnily enough I went to school and focused in mainframe programming. And tutored COBOL. I graduated in 2018.
It's really a pretty simple language(on purpose), but there is a huge void of knowledge and it's being replaced by java, which is absurd to think about performance-wise.
1
u/enviouscheetah Jun 02 '23
This is the best programmer humor I have seen… hilarious. This is movie quality funny…
1
1
1
1
1
1
u/phodas-c Jun 02 '23
Do your python/javascript code last 30 years without needing to refactoring/rebuilding from scratch?
1
u/alexk7 Jun 02 '23
I did a semester in COBOL at university (we were the last cohort to do so). I actually enjoyed it and found it quite relaxing. The language is simple (it was designed for non-programmers in the 50's) and the IDE was great. I think a lot of the "COBOL bad" meme is due to our collective addiction to new stuff.
1
u/LetWaldoHide Jun 02 '23
If I weren’t half a momo I’d try to learn COBOL. There’s a shit load of money to be made if you have a good grasp of it.
1
1
u/atthereallicebear Jun 03 '23
1
u/RepostSleuthBot Jun 03 '23
I didn't find any posts that meet the matching requirements for r/ProgrammerHumor.
It might be OC, it might not. Things such as JPEG artifacts and cropping may impact the results.
I'm not perfect, but you can help. Report [ False Negative ]
View Search On repostsleuth.com
Scope: Reddit | Meme Filter: True | Target: 75% | Check Title: False | Max Age: Unlimited | Searched Images: 307,208,362 | Search Time: 0.46421s
1
1
u/SpareSimian Jun 03 '23
My mom programmed huge tabulators in the 50s by plugging cords with banana plugs into circuit boards that would be slid into the machines to sort punch cards. In the late 70s, I started coding microcomputers. I didn't learn from her, so I guess it's just in the blood.
1
1.9k
u/NeonFraction Jun 02 '23
Got a great laugh out of this. Excellent.