this post was submitted on 26 Feb 2025
708 points (97.7% liked)

Programmer Humor

23427 readers
1259 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
[–] AllNewTypeFace@leminal.space 129 points 2 months ago (2 children)

You can instantly get whatever you want, only it’s made from 100% technical debt

[–] xmunk@sh.itjust.works 28 points 2 months ago (1 children)

That estimate seems a little low to me. It's at least 115%.

[–] vrighter@discuss.tchncs.de 22 points 2 months ago

even more. The first 100% of the tech debt is just understanding "your own" code.

load more comments (1 replies)
[–] orca@orcas.enjoying.yachts 70 points 2 months ago (4 children)

And then 12 hours spent debugging and pulling it apart.

[–] heavydust@sh.itjust.works 31 points 2 months ago (1 children)

And if you need anything else, you have to use a new prompt which will generate a brand new application, it's fun!

load more comments (1 replies)
[–] marcos@lemmy.world 9 points 2 months ago (1 children)

And it still doesn't work. Just "mostly works".

load more comments (1 replies)
load more comments (2 replies)
[–] mesamunefire@piefed.social 41 points 2 months ago (1 children)

Im looking forward in the next 2 years when AI apps are in the wild and I get to fix them lol.

As a SR dev, the wheel just keeps turning.

[–] xmunk@sh.itjust.works 19 points 2 months ago (3 children)

I'm being pretty resistant about AI code Gen. I assume we're not too far away from "Our software product is a handcrafted bespoke solution to your B2B needs that will enable synergies without exposing your entire database to the open web".

[–] mesamunefire@piefed.social 19 points 2 months ago (3 children)

It has its uses. For templeting and/or getting a small project off the ground its useful. It can get you 90% of the way there.

But the meme is SOOO correct. AI does not understand what it is doing, even with context. The things JR devs are giving me really make me laugh. I legit asked why they were throwing a very old version of react on the front end of a new project and they stated they "just did what chatgpt told them" and that it "works". Thats just last month or so.

The AI that is out there is all based on old posts and isnt keeping up with new stuff. So you get a lot of the same-ish looking projects that have some very strange/old decisions to get around limitations that no longer exist.

[–] abbadon420@lemm.ee 14 points 2 months ago

Holdup! You've got actual, employed, working, graduated juniors who are handing in code that they don't even understand?

[–] WrittenInRed@lemmy.dbzer0.com 7 points 2 months ago (1 children)

Yeah, I think personally LLMs are fine for like writing a single function, or to rubber duck with for debugging or thinking through some details of your implementation, but I'd never use one to write a whole file or project. They have their uses, and I do occasionally use something like ollama to talk through a problem and get some code snippets as a starting point for something. Trying to do too much more than that is asking for problems though. It makes it way harder to debug because it becomes reading code you haven't written, it can make the code style inconsistent, and a non-insignifigant amount of the time even in short code segments it will hallucinate a non existent function or implement something incorrectly, so using it to write massive amounts of code makes that way more likely.

load more comments (1 replies)
load more comments (1 replies)
[–] MajorHavoc@programming.dev 8 points 2 months ago* (last edited 2 months ago)

without exposing your entire database to the open web until well after your payment to us has cleared, so it's fine.

Lol.

load more comments (1 replies)
[–] x00z@lemmy.world 40 points 2 months ago (6 children)

Not to be that guy, but the image with all the traintracks might just be doing it's job perfectly.

[–] turbodrooler@lemmy.world 30 points 2 months ago (1 children)

The one on the right prints “hello world” to the terminal

[–] Korhaka@sopuli.xyz 8 points 2 months ago

And takes 5 seconds to do it

[–] tiddy@sh.itjust.works 24 points 2 months ago (1 children)

Engineers love moving parts, known for their reliability and vigor

[–] Diurnambule@jlai.lu 6 points 2 months ago

Vigor killed me

[–] thedeadwalking4242@lemmy.world 9 points 2 months ago

Might is the important here

[–] dustyData@lemmy.world 7 points 2 months ago

It gives you the right picture when you asked for a single straight track on the prompt. Now you have to spend 10 hours debugging code and fixing hallucinations of functions that don't exist on libraries it doesn't even neet to import.

[–] Michal@programming.dev 5 points 2 months ago (1 children)

While being more complex and costly to maintain

[–] x00z@lemmy.world 6 points 2 months ago (1 children)

Depends on the usecase. It's most likely at a trainyard or trainstation.

[–] Michal@programming.dev 5 points 2 months ago

The image implies that the track on the left meets the use case criteria

load more comments (1 replies)
[–] friend_of_satan@lemmy.world 20 points 2 months ago (1 children)

God, seriously. Recently I was iterating with copilot for like 15 minutes before I realized that it's complicated code changes could be reduced to an if statement.

load more comments (1 replies)
[–] RizzoTheSmall@lemm.ee 18 points 2 months ago (1 children)

I personally find copilot is very good at rigging up test scripts based on usings and a comment or two. Babysit it closely and tune the first few tests and then it can bang out a full unit test suite for your class which allows me to focus on creative work rather than toil.

It can come up with some total shit in the actual meat and potatoes of the code, but boilerplate stuff like tests it seems pretty spot on.

load more comments (1 replies)
[–] RustyNova@lemmy.world 15 points 2 months ago (1 children)

And of course the ai put rail signals in the middle.

Chain in, rail out. Always

!Factorio/Create mod reference if anyone is interested !<

load more comments (1 replies)
[–] mtchristo@lemm.ee 10 points 2 months ago

I think I would more picture planes taking off those railroads when it comes to AI. It tends to hallucinate API calls that don't exist. if you don't go check the docs yourself you will have a hard time debugging what went wrong.

[–] zerofk@lemm.ee 8 points 2 months ago (1 children)

Give it time, eventually every project looks like the right.

load more comments (1 replies)
[–] Gxost@lemmy.world 5 points 2 months ago (4 children)

It depends. AI can help writing good code. Or it can write bad code. It depends on the developer's goals.

[–] Sauerkraut@discuss.tchncs.de 6 points 2 months ago* (last edited 2 months ago) (1 children)

LLMs can be great for translating pseudo code into real code or creating boiler plate or automating tedious stuff, but ChatGPT is terrible at actual software engineering.

load more comments (1 replies)
load more comments (3 replies)
[–] rocky1138@sh.itjust.works 4 points 2 months ago (1 children)

I don't understand how build times magically decrease with AI. Or did they mean built?

[–] xthexder@l.sw0.com 8 points 2 months ago

They mean time to write the code, not compile time. Let's be honest, the AI will write it in Python or Javascript anyway

load more comments
view more: next ›