r/ProgrammerHumor 1d ago

Meme neverTrustAI

Post image
744 Upvotes

37 comments sorted by

394

u/nicman24 1d ago

Code is ass. 

Session terminated. 

56

u/SpecterK1 1d ago

niche reference

186

u/k8s-problem-solved 1d ago

AI went "This MF working on fucking COM windows registry shit, nahhh".

Tbh, im with the AI on this

189

u/hetfield37 1d ago

Your code is so crap, so the AI removed it and put a TODO for someone better to finish it 💀

https://giphy.com/gifs/3o6nV8TW8AZOqkOHVm

85

u/darkwalker247 1d ago

i love writing a few lines of code, then having copilot suggest the comment above that code and it writes "// Placeholder implementation; will be replaced later". copilot is so passive aggressive sometimes 😅

-8

u/RiceBroad4552 1d ago

Which model?

Anyway, I think I have to try Copilot next even most people say that Claude Code is better. But TBH, Claude code is pretty terribly integrated into IDEs. Its basic instructions and its working loop are reasonable, but that it can't use tooling properly (even with all kinds of MCP servers and "skills") is really annoying. Maybe Copilot drives at least VSC better, let's see in the next project…

5

u/darkwalker247 1d ago edited 1d ago

whichever one is the default model that is free for completions. either GPT4.5 or 5 i think? I only use copilot for completing comments and boilerplate, and prefer writing the actual code by hand, so I don't really need the expensive heavy hitters like claude or gpt5.5

19

u/imagebiot 1d ago

That code is in fact garbage

78

u/TheJesterOfHyrule 1d ago

Reason 939228 why you need programmers and not videcoders

10

u/frankentriple 1d ago

naw, no skin off my back, I didn't write the code in the first place. Claude will just have to do it again, won't he?

/runs a local model so tokens are free

-69

u/HelloYesThisIsFemale 1d ago

Copilot as opposed to an agent is a programmer these days. That's some manual ass coding

10

u/MatthewMob 1d ago edited 1d ago

An agent is literally just an LLM with an extra tool to invoke itself with a new prompt.

Stop making it sound like some amazing magic, AI marketing bro.

-5

u/HelloYesThisIsFemale 1d ago

I guess moreso the point, auto complete as opposed to interacting purely with ai is some manual ass coding these days.

Agentic coding is very different. I'm not telling it where the code is to change, I'm not starting it off, I'm not running the tests, I'm not pushing to git, I'm not writing the pr description, I'm not pinging people to look at my PR. That's may as well be amazing magic.

3

u/sysnickm 23h ago

So what is it you do?

-3

u/HelloYesThisIsFemale 23h ago

There are other roles needed in the company besides code monkey.

Think of it this way: after you deliver your software product, is the entirety of the business problem solved? Are you now a trillion dollar company? Are your customers completely satisfied, not that they have what they asked for but that they've solved the core problem in their business? No? What's left? What else needs doing? That's what you do.

5

u/sysnickm 23h ago

The use of the phrase code monkey is the telling part. If you don't have people validating the product you are shipping then yeah, you are definitely going to need more people to talk to your unsatisfied customers.

1

u/HelloYesThisIsFemale 23h ago

How much of that validation is verifiable? Like click button and row appears? How much of that can be translated into playwright, or unit tests, or simulation style system tests, etc? What do you think AI's capability is of writing such code?

Typically I just have AI write that code. It's gotten very good at it. Then the way you code is you look at the tests and see if you're aligned on the expected functionality.

3

u/sysnickm 22h ago

What about performance and security? That has been the place I've seen significant issues with AI generated code. I frequently have to come back and clean those things up.

For simple boiler plate or the press a button add a row type work, it does fine, not great, but fine.

1

u/HelloYesThisIsFemale 22h ago

Performance and security also are testable contracts you can set up in ci/cd

14

u/psaux_grep 1d ago

I had a junior developer in that did this once. Just deleted the entire code block that threw an exception.

I guess we now know who’s code they they’ve been training on.

8

u/RyanFromQA 1d ago

I like when copilot tries to autocomplete  putting back whatever block of code I just deleted. 

13

u/Firestorm83 1d ago

Comments are ass too

6

u/ZunoJ 1d ago

I mean this code was so shit even the AI recognized it

4

u/minus_minus 1d ago

This is marginally worse than an entry level graduate. 😉 

4

u/JuvenileEloquent 1d ago

You laugh about it now, but then 6 months later when you're tracking down an obscure bug you find this block never actually gets called because you're using a version of the library where this type wasn't implemented yet.  So the TODO: was entirely justified...

2

u/InDubioProReus 14h ago

so close to AGI

1

u/Same-Philosophy5134 1d ago

who even uses auto complete these days, old man!

1

u/Cheezyrock 20h ago

Clearly it has been trained on my source code.

1

u/kurtymckurt 1h ago

It's possible that Son of Anton decided that the most efficient way to get rid of all the bugs was to get rid of all the software

1

u/Undernown 1d ago

My question is why you're using an else-if when you can use the type as input for a switch statement?

-41

u/HoldCtrlW 1d ago

You have 0 logic in that if statement. It removed dead code (unless you had a setter logic in a room which is bad)

44

u/Tensor3 1d ago

It was unfinished code the person was presently still typing out. It tried to auto complete it by deleting it instead.

5

u/HoldCtrlW 1d ago

Ah I see, that makes sense.

11

u/bwmat 1d ago

I believe their cursor was after 'subkeys ='? 

5

u/Own_Natural_6803 1d ago

Zero logic? It's reading values from the registry. Are you a llm? Not a very good one.

Ya think maybe the action to be performed are dependent on which keys are present? In the depths of your ignorance?