this post was submitted on 19 Mar 2026
679 points (94.5% liked)

Programmer Humor

30482 readers
2003 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] Fatal@piefed.social 11 points 5 hours ago (1 children)

Guys, you can laugh at a joke. The AI doesn't win just because someone upvoted a meme. Maintainability of codebases has been a joke for longer than LLMs have been around because there's a lot of truth to it.

Even the most well intentioned design has weaknesses that we didn't see coming. Some of its abstractions are wrong. There are changes to the requirements and feature set that they didn't anticipate. They over engineered other parts that make them more difficult to navigate for no maintainability gain. That's ok. Perfectly maintainable code requires us to be psychics and none of us are.

[–] harsh3466@lemmy.ml 1 points 3 hours ago

I actually laughed out loud at this meme.

[–] PM_me_your_doggo@lemmy.world 1 points 3 hours ago

Yes. Also, my llms can do it too

[–] GreenBeanMachine@lemmy.world 9 points 7 hours ago (1 children)

Yes, but only I can maintain it.

[–] Agent641@lemmy.world 1 points 3 hours ago

I can maintain it. But I won't.

[–] Kolanaki@pawb.social 4 points 10 hours ago (1 children)

10 PRINT 'Hello World!'

20 GOTO 10

EZ

[–] sexual_tomato@lemmy.dbzer0.com 2 points 3 hours ago* (last edited 3 hours ago)

Infinite loop and hard coded magic constant; this should have a configurable timeout and a resource file the string is read from so we can internationalize the application. Additionally, the use of a goto with a hard coded line number is a runtime bug waiting to happen after unrelated refactors; it's best to use a looping construct that has more deterministic bounds.

[–] Avicenna@programming.dev 2 points 9 hours ago
[–] SapphironZA@sh.itjust.works 22 points 16 hours ago

No, so let's vibe unmaintainable code together!

[–] Shady_Shiroe@lemmy.world 20 points 19 hours ago (1 children)

I might not be the best, but I can still do a better job than AI

[–] yabbadabaddon@lemmy.zip -4 points 10 hours ago (2 children)

This is a bold claim I will not make.

[–] echodot@feddit.uk 4 points 10 hours ago (2 children)

If you are complete novice then obviously not but I think anyone reasonably proficient in a language would be able to identify optimisations that an AI just doesn't seem to perceive largely because humans are better at context.

It's like that question about whether it's worth driving your car to the car wash if the car wash is only 10 metres away. AIs have no experience of the real world so they don't inherently understand that you can't wash a car if it's not at the car wash. A human would instantly know that that's a stupid statement without even thinking about it, and unless you instruct an AI to actually deeply think about something they just give you the first answer they come up with.

[–] yabbadabaddon@lemmy.zip 1 points 3 hours ago

I agree with you. But the tool will output a basic code that mostly do what asked in seconds instead of tens of minutes if not hours. So now we could argue if the optimization you make are worth the added cost I'd writing the code yourself or if it's better to have the tool to generate the code and then optimizing it.

[–] rumba@lemmy.zip 2 points 10 hours ago (1 children)

What's why they're pushing for the datacenters, they want to turn make every query that deep. The tech is here, but the ability to sustain it isn't. They build the data centers, kick the developers out, depress the education market for it, and then raise the prices.

Companies will be paying the AI companies 60k per year per seat in a decade.

[–] echodot@feddit.uk 1 points 3 hours ago (1 children)

At that price it would be cheeper to use humans

[–] rumba@lemmy.zip 1 points 2 hours ago

That's the brilliance. There won't be a pool of trained young developers by then.

[–] skuzz@discuss.tchncs.de 1 points 10 hours ago (1 children)

A tale as old as time. The US nuclear missile codes were 000000, but it didn't matter. The chain of command was purpose-built, ironically, so the front line soldier in a cold war scenario had to make the last decision to delete all life on the planet. Chain of command doesn't matter at that point. You are choosing to kill everyone you know from an order from who knows who. The ultimate checksum.

You will always be better at decisions than an n-dimensional matrix of numbers on an overpriced GPU.

You will always be better at decisions than an n-dimensional matrix of numbers on an overpriced GPU.

I'd be careful about these claims. Maybe with our current iteration of "attention-based" LLMs, yes. But keep in mind that our way of processing information is strongly limited compared to how much data is fed to these LLMs while training, so they in theory have a lot more foundation to be able to reason about new problems.

We're vastly more capable at the moment at interpreting our limited view on foreign code, being actually creative, find new ways to reason, yes. Capable developers (open source...) often have seen quite a bit more code than the average developer and are highly skilled, still with just a tiny subset of the code that an LLM has seen.

But say these models improve in creativity and "higher-level of thought" through whatever means (e.g. through more reinforcement learning). Well, let's just say I'm careful with these claims. These LLMs are already quite a help with stupid boilerplaty code (less so with novel stuff, and writing idiomatic non-redundant code, but compared to 2-3 years ago it's quite a step already, to the point that they're actually helpful, disregarding all the hype and obvious marketing strategies of these AI-companies)

[–] neukenindekeuken@sh.itjust.works 41 points 1 day ago (4 children)

I mean, yes, absolutely I can. So can my peers. I've been doing this for a long, long time, as have my peers.

The code we produce is many times more readable and maintainable than anything an LLM can produce today.

That doesn't mean LLMs are useless, and it also doesn't mean that we're irreplaceable. It just means this argument isn't very effective.

If you're comparing an LLM to a Junior developer? Then absolutely. Both produce about the same level of maintainable code.

But for Senior/Principal level engineers? I mean this without any humble bragging at all: but we run circles around LLMs from the optimization and maintainability standpoint, and it's not even close.

This may change in the future, but today it is true (and I use all the latest Claude Code models)

[–] sexual_tomato@lemmy.dbzer0.com 0 points 3 hours ago (1 children)

With LLMs I get work done about 3-5x faster. Same level of maintainability and readability I'd have gotten writing it myself. Where LLMs fail is architecting stuff out- they can't see the blind alleys their architecture decisions being them down. They also can't remember to activate python virtual environments, like, ever.

I think it depends on what you're writing code for. For greenfield/new features that don't touch legacy code or systems too much? Sure, I agree with that assessment.

Unfortunately that's a small fraction of the kind of work I am required to do as most of the work in most places doing software dev are trying to add shit to bloated and poorly maintained legacy systems.

Working in those environments LLMs are a lot less effective. Maybe that'll change some day. But today, they don't know how to code reuse, refactor methods across classes/design patterns, etc. At least, not very well. Not without causing side effects.

[–] SparroHawc@lemmy.zip 11 points 20 hours ago (3 children)

The biggest problem with using AI instead of junior developers is that junior developers eventually become senior developers. LLMs .... don't.

load more comments (3 replies)
[–] terabyterex@lemmy.world 16 points 1 day ago

sir, this is programmer_humor

load more comments (1 replies)
[–] grueling_spool@sh.itjust.works 32 points 1 day ago (1 children)

Maybe the real slop was the code we wrote along the way

[–] TomArrr@lemmy.world 2 points 10 hours ago (1 children)

But, I didn't check any of mine in?

[–] rumba@lemmy.zip 1 points 10 hours ago

Bah, you both read the same Stack Exchange. But it remembered it byte for byte.

[–] GreenKnight23@lemmy.world 7 points 19 hours ago

yes. yes I can. been doing it for 25 years.

[–] ViatorOmnium@piefed.social 124 points 1 day ago (4 children)

Yes, and so can most experienced developers. In fact unmaintainable human-written code is more often caused by organisational dysfunctions than by lack of individual competence.

[–] sexual_tomato@lemmy.dbzer0.com 1 points 3 hours ago

Every bad decision in my code bases were because I didn't have enough time to do things the right way

[–] jardee@ohpossum.ooo 2 points 11 hours ago

Not in my case. I dont write spaghetti code, i write fettuchini code

[–] pinball_wizard@lemmy.zip 3 points 16 hours ago

Yes. But the important thing is that now disfunctional organizations have access to tools to write unmaintainable code really fast.

[–] Samskara@sh.itjust.works 65 points 1 day ago (1 children)

In my experience there’s usually a confluence of individual and institutional failures.

It usually goes like this.

  1. hotshot developers is hired at company with crappy software
  2. hotshot dev pitches a complete rewrite that will solve all issues
  3. complete rewrite is rejected
  4. hotshot dev shoehorns a new architecture and trendy dependencies into the old codebase
  5. hotshot new dev leaves
  6. software is more complex, inconsistent, and still crappy
[–] ViatorOmnium@piefed.social 12 points 1 day ago* (last edited 1 day ago) (1 children)

That's one of the failure modes, good orgs would have design and review processes to stop it.

There are other classics like arbitrary deadlines, conflicting and shifting requirements and product direction, perverse incentives, etc.

I would even say that the AI craze is a result of the latter.

load more comments (1 replies)
[–] Electricd@lemmybefree.net 29 points 1 day ago (1 children)

When that coworker tells you "hah you must have generated this" but you coded this yourself 👀

[–] beejboytyson@lemmy.world 14 points 1 day ago

"You need to try your best" "This was my best...."

[–] hperrin@lemmy.ca 53 points 1 day ago* (last edited 23 hours ago) (4 children)

Pretty sure I can, considering I’m still maintaining a project I originally started in 2009, which is a core component of my email service.

load more comments (4 replies)
[–] dumnezero@piefed.social 5 points 21 hours ago (1 children)

Whoever upvoted this needs to read some books.

[–] onlinepersona@programming.dev 3 points 11 hours ago

What are these books you speak of? Do they have special features?

[–] Carighan@piefed.world 11 points 1 day ago

I could.

I choose not to! Take that, LLM!

[–] dfyx@lemmy.helios42.de 28 points 1 day ago

Yes. That's literally the first point in my job description.

load more comments
view more: next ›