Live data from Hacker News

Cursor told me I should learn coding instead of asking it to generate it

forum.cursor.com

21–30 of 411 posts

Re: Cursor told me I should learn coding instead of asking it to generate it

#21
It's going to be interesting to see the AI generation arriving in the workplace, ie kids who grew up with ChatGPT, and have never learned to find something in a source document themselves. Not even just about coding, about any other knowledge.

Re: Cursor told me I should learn coding instead of asking it to generate it

#22

This is quite a lot of code to handle in 1 file. The recommendation is actually good in the past(month - feels like 1 year of planning) I've made similar mistakes with tens of projects - having files larger than 500-600 lines of code - Claude was removing some of the code and I didn't have coverage on some of them and the end result was missing functionality. Good thing that we can use .cursorrules so this is somethi…

Claude seems to be somewhat OK with 1500 LOC in one file. It may miss something, mess something up, sure, that is why you should chunk it up.

Re: Cursor told me I should learn coding instead of asking it to generate it

#23
post #5

Had extremely bad experience with Cursor/Claude. Have a big Angular project, +/- 150 TS files. Upgraded it to Angular 19 and now I can optimize build by marking all components, pipes, services etc as "standalone" essentially eliminating the need for modules and simplifying code. I thought it is perfect for AI as it is straight forward refactor work but would be annoying for a human. 1. Search every service and remove…

Sounds like Claude "has" ADHD lol

It doesn't have ADHD, it's more likely because they create too much small chunks in the recent versons of Cursor. So Cursor is looking at the project with a very small magnifying glass, and forgets what is the big picture (in addition to the context length issue).

Re: Cursor told me I should learn coding instead of asking it to generate it

#24
post #7

I wonder if this was real or if they set a custom prompt to try and force such a response. If it is real, then I guess it's because LLMs have been trained on a bunch of places where students asked other people to do their homework.

Sounds like something you would find on Stack Overflow

Re: Cursor told me I should learn coding instead of asking it to generate it

#25

Quite reasonable of it to do so I'd say. The AI tools are good, and they have their uses, but they are currently at best at a keen junior/intern level, making the same sort of mistakes. You need knowledge and experience to help mentor that sort of developer. Give it another year or two and I hope they the student will become the master and start mentoring me :)

It's not reasonable to say “I cannot do that as it would be completing your work”, no. Your tool have no say in the morality of your actions, it's already problematic when they censor sexual topics but the tool makers feel entitled to configure their tools only to allow you some kind of use for your work then we're speedrunning to dystopia (as if it wasn't the case already).

>Your tool have no say in the morality of your actions,

Asimov's "three laws of robotics" beg to differ.

Re: Cursor told me I should learn coding instead of asking it to generate it

#26

Quite reasonable of it to do so I'd say. The AI tools are good, and they have their uses, but they are currently at best at a keen junior/intern level, making the same sort of mistakes. You need knowledge and experience to help mentor that sort of developer. Give it another year or two and I hope they the student will become the master and start mentoring me :)

> but they are currently at best at a keen junior/intern level

Would strongly disagree here. They are something else entirely.

They have the ability to provide an answer to any question but where its accuracy decreases significantly depending on the popularity of the task.

So if I am writing a CRUD app in Python/React it is expert level. But when I throw some Scala or Rust it is 100x worse than any junior would ever be. Because no normal person would confidently rewrite large amounts of code with nonsense that doesn't even compile.

And I don't see how LLMs get significantly better without a corresponding improvement in input data.

Re: Cursor told me I should learn coding instead of asking it to generate it

#27
post #10

Had extremely bad experience with Cursor/Claude. Have a big Angular project, +/- 150 TS files. Upgraded it to Angular 19 and now I can optimize build by marking all components, pipes, services etc as "standalone" essentially eliminating the need for modules and simplifying code. I thought it is perfect for AI as it is straight forward refactor work but would be annoying for a human. 1. Search every service and remove…

Yes it feels like refactoring would be a perfect use case for LLMs but it only works for very simple cases. I've tried several times to do bigger refactors spanning several files with Cursor and it always failed. I think it's a combination of context window being not big enough and also tooling/prompting could probably be improved to better support the use case of refactoring.

Some IDEs like Intellij Idea have structured search&replace feature. I think there are dedicated projects for this task, so you can search&replace things using AST and not just text.

May be it would make sense to ask AI to use those tools instead of doing edits directly?

Re: Cursor told me I should learn coding instead of asking it to generate it

#28
Working with Cursor will make you more productive when/if you know how to code, how to navigate complex code, how to review and understand code, how to document it, all without LLMs. In that case you feel like having half a dozen junior devs or even a senior dev under your command. It will make you fly. I have tackled dozens of projects with it that I wouldn't have had the time and resources for. And it created absolutely solid solutions. Love this new world of possibilities.

Re: Cursor told me I should learn coding instead of asking it to generate it

#29

Had extremely bad experience with Cursor/Claude. Have a big Angular project, +/- 150 TS files. Upgraded it to Angular 19 and now I can optimize build by marking all components, pipes, services etc as "standalone" essentially eliminating the need for modules and simplifying code. I thought it is perfect for AI as it is straight forward refactor work but would be annoying for a human. 1. Search every service and remove…

Could this not be done algorithmically though? One can go reasonably far with static code parsing.

Re: Cursor told me I should learn coding instead of asking it to generate it

#30
Oh what a middle finger that seemed to be. I had similar experience in the beginning with ChatGPT (1-2 years back?), until I started paying for a subscription. Now even if it's a 'bad idea' when I ask it to write some code (for my personal use - not work/employment/company) and I insist upon the 'ill-advised' code structure it does it.

I was listening to Steve Gibson on SecurityNow speaking about memory-safe programming languages, and the push for the idea, and I was thinking two things: 1) (most) people don't write code (themselves) any more (or we are going to this direction) thus out of the 10k lines of code, someone may manually miss some error/bug (although a second and third LLM doing code review may catch it 2) we can now ask an LLM to rewrite 10k lines of code from X-language to Y-language and it will be cheaper than hiring 10 developers to do it.

Post reply on HN