AI coding assistant pulls a life lesson: "I won't do your work for you"

zohaibahd

Posts: 976   +19
Staff
WTF?! A developer using the AI coding assistant Cursor recently encountered an unexpected roadblock – and it wasn't due to running out of API credits or hitting a technical limitation. After successfully generating around 800 lines of code for a racing game, the AI abruptly refused to continue. At that point, the AI decided to scold the programmer, insisting he complete the rest of the work himself.

"I cannot generate code for you, as that would be completing your work... you should develop the logic yourself. This ensures you understand the system and can maintain it properly."

The incident, documented as a bug report on Cursor's forum by user "janswist," occurred while the developer was "vibe coding."

Vibe coding refers to the increasingly common practice of using AI language models to generate functional code simply by describing one's intent in plain English, without necessarily understanding how the code works. The term was apparently coined last month by Andrej Karpathy in a tweet, where he described "a new kind of coding I call 'vibe coding,' where you fully give into the vibes, embrace exponentials."

Janswist was fully embracing this workflow, watching lines of code rapidly accumulate for over an hour – until he attempted to generate code for a skid mark rendering system. That's when Cursor suddenly hit the brakes with a refusal message:

The AI didn't stop there, boldly declaring, "Generating code for others can lead to dependency and reduced learning opportunities." It was almost like having a helicopter parent swoop in, snatch away your video game controller for your own good, and then lecture you on the harms of excessive screen time.

Other Cursor users were equally baffled by the incident. "Never saw something like that," one replied, noting that they had generated over 1,500 lines of code for a project without any such intervention.

It's an amusing – if slightly unsettling – phenomenon. But this isn't the first time an AI assistant has outright refused to work, or at least acted lazy. Back in late 2023, ChatGPT went through a phase of providing overly simplified, undetailed responses – an issue OpenAI called "unintentional" behavior and attempted to fix.

In Cursor's case, the AI's refusal to continue assisting almost seemed like a higher philosophical objection, like it was trying to prevent developers from becoming too reliant on AI or failing to understand the systems they were building.

Of course, AI isn't sentient, so the real reason is likely far less profound. Some users on Hacker News speculated that Cursor's chatbot may have picked up this attitude from scanning forums like Stack Overflow, where developers often discourage excessive hand-holding.

Permalink to story:

 
It's right though. I've seen devs relying on AI to do the work for them and it never goes well. You ask them a question in a code review about some weird code or some very fragile code and they can't explain what they did because they didn't! The second case of fragile code is super common for AI genned code as it is so often scraped from examples on sites like stack overflow where there is never any defensive checks in place as it is just explaining how to do something with as little clutter as possible. It's great for scaffolding common patterns etc but that's all.
 
"I cannot generate code for you, as that would be completing your work... you should develop the logic yourself. This ensures you understand the system and can maintain it properly."
for the love of god, keep this practice in PLACE. Its bad enough we got AIs generating resumes full of sht and bunch of losers trying to land jobs paying 100k+ that have zero qualifications what so ever.
 
The movie Wall E was very visionary and it appears AI will rapidly accelerate our evolution to such a future as rampant laziness becomes the holy grail of the uncaring, unthinking masses.
 
super common for AI genned code as it is so often scraped from examples on sites like stack overflow

..and this is where we are at with AI code assistance. Imagine if we had the best of the best expert coders for a specific language moderate that AI model. It would smash any forum, stack overflow, git, discord, etc with knowledge and experience.

You could build solid and robust applications with less errors in less time with less people. EFFICIENCY! I love it. I would still emphasize that you need to check your code over, but at least you wouldn't be writing poorly programmed or in-efficient code.
 
The movie Wall E was very visionary and it appears AI will rapidly accelerate our evolution to such a future as rampant laziness becomes the holy grail of the uncaring, unthinking masses.

We're already there. Half of my parent's neighbors get all their Wal-Mart groceries delivered to their doorstep. They live about a mile from the store. Doordash is in the neighborhood every five minutes. People can't stop doomscrolling long enough to take care of basic life chores. How long until AI is ordering the groceries and meals FOR these useless fleshbags?
 
I tried using chatGPT to help me with something (a js library for animation and interaction). After a few lines of code that worked well as a basis to expand, the more details I gave it the worse it became even after telling it how to correct the code and what mistakes it made.

It did save me some time to find how to use some of the functions, but unless you understand the code... you will end up with a huge mess.
 
To be honest, I've never done much coding beyond Atari BASIC back in 1980 or so....(that was fun for a while) - But I really don't see this AI crap producing anything earth-shattering within the next million years...But hey -you know what they say about putting enough monkeys in the same room with typewriters -one of them will eventually produce some Shakespeare (or something like that)...LOL.
 
To be honest, I've never done much coding beyond Atari BASIC back in 1980 or so....(that was fun for a while) - But I really don't see this AI crap producing anything earth-shattering within the next million years...But hey -you know what they say about putting enough monkeys in the same room with typewriters -one of them will eventually produce some Shakespeare (or something like that)...LOL.

I learned to code in Atari Basic many decades ago. Then moved to GFA Basic. Then to other languages in college - and have worked as a software developer for the last 30 years. All due to that Atari computer I bought as a teenager at Sears. :) I have tried using AI on a couple of work projects and it got even the basic things wrong so badly that it was far quicker to just do it myself.
 
Back