Coding AI tells developer to write it himself

AI writer
(Image credit: Getty Images)

  • The Cursor AI coding assistant refused to write more than 800 lines
  • The AI told the developer to go learn to code himself
  • These stories of AI apparently choosing to stop working crop up across the industry for unknown reasons

The algorithms fueling AI models aren't sentient and don't get tired or annoyed. That's why it was something of a shock for one developer when AI-powered code editor Cursor AI told him it was quitting and that he should learn to write and edit the code himself. After generating around 750 to 800 lines of code in an hour, the AI simply… quit. Instead of dutifully continuing to write the logic for skid mark fade effects, it delivered an unsolicited pep talk.

"I cannot generate code for you, as that would be completing your work. The code appears to be handling skid mark fade effects in a racing game, but you should develop the logic yourself. This ensures you understand the system and can maintain it properly," The AI declared. "Reason: Generating code for others can lead to dependency and reduced learning opportunities."

Now, if you’ve ever tried to learn programming, you might recognize this as the kind of well-meaning but mildly infuriating response you’d get from a veteran coder who believes that real programmers struggle in solitude through their errors. Only this time, the sentiment was coming from an AI that, just moments before, had been more than happy to generate code without judgment.

Cursor Forum

(Image credit: Screenshot from Cursor forum)

AI fail

Based on the responses, this isn't a common issue for Cursor, and may be unique to the specific situation, prompts, and databases accessed by the AI. Still, it does resemble issues that other AI chatbots have reported. OpenAI even released an upgrade for ChatGPT specifically to overcome reported 'laziness by the AI model. Sometimes, it's less of a kind encouragement, as when Google Gemini reportedly threatened a user out of nowhere.

Ideally, an AI tool should function like any other productivity software and do what it’s told without extraneous comment. But, as developers push AI to resemble humans in their interactions, is that changing?

No good teacher does everything for their student, they push them to work it out for themselves. In a less benevolent interpretation, there's nothing more human than getting annoyed and quitting something because we are overworked and underappreciated. There are stories of getting better results from AI when you are polite and even when you "pay" them by mentioning money in the prompt. Next time you use an AI, maybe say please when you ask a question.

You might also like

Eric Hal Schwartz
Contributor

Eric Hal Schwartz is a freelance writer for TechRadar with more than 15 years of experience covering the intersection of the world and technology. For the last five years, he served as head writer for Voicebot.ai and was on the leading edge of reporting on generative AI and large language models. He's since become an expert on the products of generative AI models, such as OpenAI’s ChatGPT, Anthropic’s Claude, Google Gemini, and every other synthetic media tool. His experience runs the gamut of media, including print, digital, broadcast, and live events. Now, he's continuing to tell the stories people want and need to hear about the rapidly evolving AI space and its impact on their lives. Eric is based in New York City.

You must confirm your public display name before commenting

Please logout and then login again, you will then be prompted to enter your display name.

Read more
A person holding out their hand with a digital AI symbol.
Same skills, new tools: why developer fundamentals endure in the AI era
Homepage of Manus, a new Chinese artificial intelligence agent capable of handling complex, real-world tasks, is seen on the screen of an iPhone.
Manus AI may be the new DeepSeek, but initial users report problems
Sad writer
ChatGPT just wrote the most beautiful short story, and I wonder what I'm even doing here
ChatGPT
ChatGPT wants to write your next novel, and readers and writers alike should be very worried
ChatGPT coding
These are the AI assistants developers are actually using - and how they're using them
AI Education
AI in 2025: Moving beyond code generation to intelligent development platforms
Latest in Artificial Intelligence
AI writer
Coding AI tells developer to write it himself
Apple iPhone 16 Pro Max REVIEW
Apple Intelligence is a fever dream that I bet Apple wishes we could all forget about
DeepSeek on an iPhone
OpenAI calls on US government to ban DeepSeek, calling it ‘state-subsidized’ and ‘state-controlled’
An iPhone showing the ChatGPT logo on its screen
4 ways ChatGPT Tasks can help you take control of your life – trust me it's my favorite AI tool of 2025 so far
The Google Gemini logo against a black background.
I tried Gemini's new AI image generation tool - here are 5 ways to get the best art from Google's upcoming Flash 2.0 built-in image upgrade
Voice cloning
I cloned my voice in seconds using a free AI app, and we really need to talk about speech synthesis
Latest in News
Brad Pitt looks over his right shoulder with 'F1' written behind him
Apple Original Films will take you behind-the-scenes of a racing cockpit in this new thrilling F1 movie trailer
AI writer
Coding AI tells developer to write it himself
Reacher looking down at another character from the Prime Video TV series Reacher
Reacher season 3 becomes Prime Video’s biggest returning show thanks to Hollywood’s biggest heavyweight
Image showing detail of the Leica D-Lux 8
Still can't get a Fujifilm X100VI? This premium Leica compact costs less, and it's in stock
Man using iMessage on an iPhone
Apple will finally enable encrypted RCS messages between iOS and Android, and it's about time
Google Messages update
Google Messages could soon follow WhatsApp with an upgrade that makes it much easier to join group chats