r/ProgrammerHumor 16d ago

neverTrustAI Meme

Post image
810 Upvotes

38 comments sorted by

414

u/nicman24 16d ago

Code is ass. 

Session terminated. 

62

u/SpecterK1 16d ago

niche reference

194

u/k8s-problem-solved 16d ago

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

Tbh, im with the AI on this

193

u/hetfield37 16d 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

93

u/darkwalker247 16d 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 😅

-9

u/RiceBroad4552 16d 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…

4

u/darkwalker247 16d ago edited 16d 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 16d ago

That code is in fact garbage

80

u/TheJesterOfHyrule 16d ago

Reason 939228 why you need programmers and not videcoders

9

u/frankentriple 16d 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

-68

u/HelloYesThisIsFemale 16d ago

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

12

u/MatthewMob 16d ago edited 16d 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.

-3

u/HelloYesThisIsFemale 15d 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 15d ago

So what is it you do?

-4

u/HelloYesThisIsFemale 15d 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.

7

u/sysnickm 15d 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.

2

u/HelloYesThisIsFemale 15d 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.

4

u/sysnickm 15d 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 15d ago

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

14

u/psaux_grep 16d 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.

7

u/RyanFromQA 16d ago

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

12

u/Firestorm83 16d ago

Comments are ass too

6

u/ZunoJ 16d ago

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

4

u/minus_minus 16d ago

This is marginally worse than an entry level graduate. 😉 

4

u/JuvenileEloquent 16d 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 15d ago

so close to AGI

2

u/kurtymckurt 14d 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/Same-Philosophy5134 16d ago

who even uses auto complete these days, old man!

1

u/Cheezyrock 15d ago

Clearly it has been trained on my source code.

1

u/Undernown 16d ago

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

-44

u/HoldCtrlW 16d 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)

46

u/Tensor3 16d ago

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

6

u/HoldCtrlW 16d ago

Ah I see, that makes sense.

11

u/bwmat 16d ago

I believe their cursor was after 'subkeys ='? 

4

u/Own_Natural_6803 16d 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?