this post was submitted on 03 Aug 2025
680 points (98.3% liked)

Programmer Humor

37567 readers
615 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] Semi_Hemi_Demigod@lemmy.world 10 points 7 hours ago (1 children)

Okay.

Get him on a call with a customer to explain why their payroll is broken.

That should be fun.

[–] SkaveRat@discuss.tchncs.de 5 points 6 hours ago

Easy. Just transcribe the call straight into cursor

Should just work, right? Right?

[–] merc@sh.itjust.works 9 points 7 hours ago

"Doogie Howser here hasn't even had a day of med school, but thanks to AI he's writing 5000 drug prescriptions per day!"

"We literally found this homeless man on the street ranting about lizard people, and now thanks to AI he's the the biggest stud at the hedge fund, making hundreds of multi-billion dollar trades every day!"

"Betty here failed out of high school and can't even pronounce 'nuclear' properly, but thanks to AI she wrote the entire atomic power plant safety manual in a day."

"Would you believe that Fred is still in a coma? Yeah, doctors say he's 'in a persistent vegetative state' and 'never going to recover after that i-beam crushed his head', and 'what you people are doing is both cruel and insane'. But, we hooked DeepSeek up to his respirator and heart monitor and connected some black and red wires together and he's back to working as an air traffic controller!"

[–] Psyhackological@lemmy.ml 11 points 12 hours ago

I hope he didn't use Claude because oh boy it maybe costed more than a real developer.

[–] AlboTheGuy@feddit.nl 39 points 16 hours ago (1 children)

The fallback is gonna be hilarious, the codebase rewrote by AI? With basically no considerations of business need and system capacity?

I can't wait for the humiliating rollback

[–] Witchfire@lemmy.world 18 points 15 hours ago* (last edited 15 hours ago) (2 children)

I bet you their "10x coder" can't describe what a unit test is nor its purpose

Then again, can you even unit test AI generated slop with how often it's rewritten?

[–] Tamo240@programming.dev 5 points 11 hours ago (1 children)

Unit tests are exactly for code that is often rewritten, because it ensures that whatever interface still behaves the same, regardless of the implementation. This a large portion of the point of unit tests: not for testing the initial implementation but confirming that any subsequent implementation behaves the same.

[–] Witchfire@lemmy.world 2 points 11 hours ago* (last edited 11 hours ago)

In a normal scenario yes, but "vibe coding" rewrites whole swaths of code. It's like painting detail with a bucket. Trying to keep up with it seems like a sisyphiean task

[–] python@lemmy.world 3 points 12 hours ago

Using AI to write Unit tests is one of the few use cases I somewhat understand, but even that turns out horrible with improper supervision. I reviewed one Pull Request once where the testing was so horribly cobbled together and nonsensical that I rewrote those tests by hand (after asking the person I was reviewing to fix it twice and them only making it worse by letting their AI rewrite them)

[–] Flax_vert@feddit.uk 25 points 15 hours ago

A vibe coder not even out of high school replaced your entire codebase

👁️👄👁️

[–] flop_leash_973@lemmy.world 16 points 17 hours ago* (last edited 17 hours ago) (1 children)

But not his job right? He alone is far too valuable to be replaced by an IDE. /s

[–] ShaggySnacks@lemmy.myserv.one 2 points 6 hours ago

I was going to say more like IED cause everything is going to blow to bits.

[–] JDPoZ@lemmy.world 31 points 19 hours ago (2 children)

The democratization of technology is a double-edged sword.

For every improvement in UX and lowering of a once impassible barrier of entry, we seem to inevitably gain a massive number of “eXpErTs” who can suddenly stand upon the now much lower skill floor.

Shortly thereafter seems to be a destruction of the general reliability of whatever field these “eXpErTs” flood - usually a field which used to be inherently cryptic and had complex prerequisites just to begin operation within, let alone master.

Like… it makes me almost miss when “using a computer” meant you had to understand how to browse a directory in DOS…

Because at least then you literally couldn’t begin to operate in the field unless you could wrap your head around understanding the basics of syntax.

Now you can just have an entire legion of dullards misspell or misspeak 30% of a malformed question to some random free LLM that still has trouble telling you “how many Rs are in the word strawberry,” and have it confidently fart back out a wrong answer that they will then copy-paste into a paper or article which will then be added to the pile of growing misinformation currently stuffing a frighteningly expanding part of our collective knowledge base.

[–] 0ops@piefed.zip 5 points 13 hours ago

One of my biggest pet-peeves right now is tech companies selling paid, proprietary "low code/no code" software as "democratic". Especially when writing code was never the hard part of software development, it's designing usable, scalable, and efficient data structures and algorithms.

[–] DeathsEmbrace@lemmy.world 10 points 18 hours ago

Yeah we're gooing to need to go back and clean up the internet from 2022-50. Because of the scam they call AI it's only going to get worse.

[–] FuckFascism@lemmy.world 17 points 17 hours ago (1 children)
[–] Aganim@lemmy.world 21 points 16 hours ago (1 children)

That's why he's a cracked developer. Already broken under the heel of his capitalist overlord.

[–] mere@lemmy.blahaj.zone 3 points 8 hours ago

literally cracked

[–] AeonFelis@lemmy.world 34 points 20 hours ago (2 children)

There are two kinds of Linkedin posters - those who are open about being trolls and those who aren't.

load more comments (2 replies)
[–] Glitterbomb@lemmy.world 37 points 21 hours ago (2 children)

Can we fast forward to the Hard Lessons part because it's going to be hilarious

[–] temmink@feddit.org 10 points 16 hours ago

As an AI native he knows how to prompt, for example to always include "don't make errors" and "make sure to follow security best practices". It's really easy once you know.

[–] filcuk@lemmy.zip 9 points 16 hours ago

All of those senior devs that got sacked will be laughing for the rehire salary increase, assuming their company doesn't fold on the ai code house of cards.

[–] PrettyFlyForAFatGuy@feddit.uk 116 points 1 day ago (1 children)

red flag number 1: measuring progress in lines of code

[–] iglou@programming.dev 68 points 22 hours ago (4 children)

redflag number 2: not seeing the issue with accepting 250k lines of code generated by AI supervised by a teenager without a software engineering background

[–] pineapplelover@lemmy.dbzer0.com 20 points 19 hours ago (1 children)

Wdym man the guy has 10 years of experience

[–] Doomsider@lemmy.world 3 points 12 hours ago

10 years using the restroom all by themselves. Very impressive!

load more comments (3 replies)
[–] cupcakezealot@piefed.blahaj.zone 57 points 22 hours ago (3 children)

250k lines of ai generated code means he didn't do anything

[–] phoenixz@lemmy.ca 10 points 16 hours ago* (last edited 16 hours ago)

250K lines of code in a month means about 10k lines per day.

For an 8 hour work day (since they donchild labour, it might as well be 16, but let's keep it simple) that is about 1000 lines of code per hour, so about 20 lines of code per minute. Give or take

Unless you trust the output of AI implicitly without checking anything, ever, there is no way on this earth this can be done by a single person.

Then, an actual senior developer would be required to evaluate each method he wrote, but I'm sure this 10 year old child with zero experience will suffice

So basically, this guy just uses a child to tell chatgpt similar to vomit out text that likely may not even compile, let alone do what it needs to do correctly, with the right security protocols, all with the underlying infrastructure.

All of this is bullshit and that CEO should be arrested for child labor

[–] bitjunkie@lemmy.world 19 points 19 hours ago

Yeah like whoopty doo you created 250k lines of cruft that someone competent will have to sift through later

[–] Treczoks@lemmy.world 27 points 21 hours ago

Well, what he did was bringing something into the code base that might blow up the whole company one day in the future. Becuase what he didn't do was thoroughly review the code that the AI made.

[–] dreadbeef@lemmy.dbzer0.com 6 points 15 hours ago

I only want to see ai remove code while keeping tests passing. until it can do that what value does it bring

[–] bitjunkie@lemmy.world 18 points 19 hours ago

aI-nAtIvE tEnX

What an obnoxious buzzword bro

[–] Newsteinleo@midwest.social 30 points 22 hours ago

Are we just going to ignore that the guy posting this looks 14

[–] misteloct@lemmy.dbzer0.com 137 points 1 day ago (1 children)
[–] yermaw@sh.itjust.works 42 points 1 day ago (1 children)

I used to think this is pretty much how games were really made when I was a tiny child. I couldn't get over how many images needed to be created to get every possibility from every angle.

load more comments (1 replies)
[–] buttnugget@lemmy.world 13 points 21 hours ago

Just write the AI to accept non deterministic outcomes, slap it on its ass, and push it into production.

[–] comfy@lemmy.ml 79 points 1 day ago (2 children)

Programming is one of those skills and industries that is accessible enough that basically anyone can do it, but you will run into trouble later if you're doing anything serious without learning how to do it well. There are hundreds or thousands of ways to make something work, but if it's an unmaintainable mess or you don't even understand how it works, then we end up with our financial institutions running COBOL in 2025. Good luck when regulations change. Have fun when your operating system becomes unsupported and you have to replace the underlying dependencies. Hope your boss doesn't sue when they have to hire people to rewrite your hackjob.

And these were all already problems before AI code came onto the scene. We had the programming equivalent of script kiddies, people who would blindly copy and paste code from web searches without even reading the date or the comments saying "this is bad and this is why". But this probably makes it even easier to do, and possibly harder to spot. Combine this with how many universities don't even focus on lower-level languages so you get plenty of people who can't understand how to fix any of the trickier errors in their code. And that's not to say everyone has to be able to, but it's a problem when so few are able to. So these programmers are unlikely to know if the code has problems so long as it passes their tests, and unlikely to know how to fix those problems when they become clear.

Automation tools are good ideas for assisting and detecting possible mistakes. They're not good at generating that much code. In fact, that amount of code in that amount of time is suspicious, hinting that it's unlikely to be well-designed, maintainable or efficient.

[–] pinball_wizard@lemmy.zip 16 points 20 hours ago* (last edited 14 hours ago) (2 children)

This is a great write-up. And a bit generous to the "developer" in question.

I'm not entirely sure I've written 250,000 lines of code yet, in my entire decades as a professional developer. If I have, it's a near thing.

Not to brag, but I can reuse existing libraries and get many things done with 5 or 10 lines of code.

It's hard to crack 250,000 when 5-10 lines solves each of my employer's problems.

And this young developer supposedly solved one problem with 250,000 lines of code.

After giving it some thought, I'm like ~~90%~~ 40% (edit: okay, 40% after hearing some anecdotes, haha.) sure this is just a parody post. Even AI can't be that bad at this, right?

[–] MoonMelon@lemmy.ml 7 points 18 hours ago

This is just some library too, not their main application. I know "lines of code" is bullshit but just for reference I looked it up and apparently curl is ~180k lines of code. I can't imagine how crufty this fucking code must be, assuming this is even real because it seems too ludicrous.

[–] OctopusNemeses@lemmy.world 9 points 19 hours ago

This kind of thing is real. Newbies don't have experience to know how important architecture is. They continuously mash code without thinking too much. Generative machines have made the problem orders of magnitude worse. It used to be limited to the amount of garbage a human could mash into their keyboard. Now it's like generated art. People churn out infinite images. They haven't actually drawn the image themselves.

[–] Gumbyyy@lemmy.world 10 points 19 hours ago (1 children)

I agree with your main point, although I think your example of COBOL being used to this day in financial institutions is actually the opposite problem. The guys that originally developed that shit were damn good programmers, but they were severely constrained by the available hardware, limitations of the language, etc. So they had to get really clever in order to make these massive, complicated systems work. In my experience, those really old legacy systems tend to be rock solid with near 100% uptime and almost no errors. They've never been rewritten because doing so would be a multi-year effort costing millions of dollars, and the end result would be a system that is most likely slower, buggier, and has less functionality.

TLDR: The old COBOL systems are unmaintainable messes not because of incompetent developers, but because the limitations of the available technology when they were originally developed forced a bunch of really good devs to have to get extremely creative and hacky with their solutions.

[–] merc@sh.itjust.works 1 points 7 hours ago

Even if the original developers weren't rock stars, the codebase was feature-complete in the 80s or earlier and they've spent the decades since then eliminating nearly every single bug.

The real issue is that it's expensive to add new features compared to a modern codebase , and it's very difficult to find COBOL programmers in 2025.

Eventually a bank is going to take the gamble and rewrite everything in a modern language, and designed with modern tech in mind. But, it's going to be a huge gamble. And, I can guarantee you, they're not going to be vibe-coding it.

load more comments
view more: next ›