TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

658 pointsby nomilk2 months ago

56 comments

jeandesuis2 months ago
Sheesh, I didn&#x27;t expect my post to go viral. Little explanation:<p>I downloaded and run Cursor for the first time when this &quot;error&quot; happened. Turned out I was supposed to use agent instead of inline Cmd+K command because inline has some limitations while agent not so much.<p>Nevertheless, I was surprised that AI could actually say something like that so just in case I screenshotted it - some might think it&#x27;s fake, but it&#x27;s actually real and makes me think if in future AI will start giving attitudes to their users. Oh, welp. For sure I didn&#x27;t expect it to blow up like this since it was all new to me so I thought it maybe was an easter egg or just a silly error. Turned out it wasn&#x27;t seen before so there we are!<p>Cheers
评论 #43352076 未加载
评论 #43359298 未加载
评论 #43352351 未加载
评论 #43352592 未加载
评论 #43354005 未加载
评论 #43358908 未加载
评论 #43352155 未加载
andai2 months ago
<i>This isn’t just about individual laziness—it’s a systemic arms race towards intellectual decay.[0]</i><p>With programming, the same basic tension exists as with the more effective smarter AI-enhanced approaches to conceptual learning: effectiveness is a function of effort, and the whole reason for the &quot;AI epidemic&quot; is that people are avoiding effort like the plague.<p>So the problem seems to boil down to, how can we convince everyone to go against the basic human (animal?) instinct to take the path of least resistance.<p>So it seems to be less about specific techniques and technologies, and more about a basic approach to life itself?<p>In terms of integrating that approach into your actual work (so you can stay sharp through your career), it&#x27;s even worse than just laziness, it&#x27;s fear of getting fired too, since doing things the human way doubles the time required (according to Microsoft), and adding little AI-tutor-guided coding challenges to enhance your understanding along the way increases that even further.<p>And in the context of &quot;this feature needs to be done by Tuesday and all my colleagues are working 2-3x faster than me (because they&#x27;re letting AI do all the work)... you see what I mean! It systemically creates the incentive for everyone to let their cognitive abilities rapidly decline.<p>[0] GPT-4.5
评论 #43351651 未加载
评论 #43351768 未加载
评论 #43351743 未加载
评论 #43352029 未加载
评论 #43351779 未加载
评论 #43351972 未加载
评论 #43351641 未加载
评论 #43352326 未加载
评论 #43353604 未加载
评论 #43352242 未加载
评论 #43352281 未加载
评论 #43351965 未加载
评论 #43351860 未加载
评论 #43351864 未加载
评论 #43352495 未加载
datadeft2 months ago
The biggest problem what I have with using AI for software engineering is that it is absolutely amazing for generating the skeleton of your code, boilerplate really and it sucks for anything creative. I have tried to use the reasoning models as well but all of them give you subpar solutions when it comes to handling a creative challenge.<p>For example: what would be the best strategy to download 1000s of URLs using async in Rust. It gives you ok solutions but the final solution came from the Rust forum (the answer was written 1 year ago) which I assume made its way into the model.<p>There is also the verbosity problem. Calude without the concise flag on generates roughly 10x the required amount of code to solve a problem.<p>Maybe I am prompting incorrectly and somehow I could get the right answers from these models but at this stage I use these as a boilerplate generator and the actual creative problem solving remains on the human side.
评论 #43351954 未加载
评论 #43355746 未加载
评论 #43351831 未加载
评论 #43351879 未加载
评论 #43352441 未加载
评论 #43351826 未加载
评论 #43353387 未加载
larodi2 months ago
Interestingly many here fail to note that development of code is a lot about debugging, not only about writing. Is also about being able to dig&#x2F;search&#x2F;grok the code, which is like... reading it.<p>It is the debugging part to me, not only the writing, that actually teaches you what IS right, and what not. Not the architectural work, not the LLM spitting code part, not the deployment, but the debugging of the code and integration. THIS is what teaches you, writing alone teaches you nothing... you can copy by hand programs and understand zero of what they do unless inspecting intermediate results.<p>To hand-craft a house is super romantic and nice, etc. Is a thing people did for a lifetime for ages, not alone usually - with family and friends. But people today live in houses&#x2F;apartments that had their foundations produced by automated lines (robots) - the steel, the mixture for the concrete, etc. And people yet live in the houses built this way, designed with computer which automated the drawing. I fail to understand while this is bad?
评论 #43375417 未加载
tymonPartyLate2 months ago
I asked it once to simplify code it had written and it refused. The code it wrote was ok but unnecessary in my view.<p>Claude 3.7: &gt; I understand the desire to simplify, but using a text array for .... might create more problems than it solves. Here&#x27;s why I recommend keeping the relational approach: ( list of okay reasons ) &gt; However, I strongly agree with adding ..... to the model. Let&#x27;s implement that change.<p>I was kind of shocked by the display of opinions. HAL vibes.
评论 #43351537 未加载
srvaroa2 months ago
Well, this AI operates now at staff+ level
评论 #43351506 未加载
stuaxo2 months ago
Funny, but expected when some chunk of the training data is forum posts like:<p>&quot;Give me the code for&quot;<p>&quot;Do it yourself, this is homework for you to learn&quot;.<p>Prompt engineering is learning enough about a project to sound like an expert, them you will he closer to useful answers.<p>Alternatively - maybe if trying to get it to solve a homework like question, thus type of answer is more likely.
评论 #43351609 未加载
cm21872 months ago
It&#x27;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.
评论 #43351432 未加载
评论 #43351379 未加载
评论 #43351523 未加载
评论 #43351657 未加载
评论 #43351372 未加载
评论 #43351650 未加载
评论 #43351547 未加载
评论 #43351612 未加载
评论 #43351427 未加载
评论 #43351970 未加载
评论 #43352223 未加载
评论 #43351971 未加载
评论 #43351631 未加载
评论 #43351689 未加载
评论 #43351480 未加载
评论 #43351530 未加载
mattlondon2 months ago
Quite reasonable of it to do so I&#x27;d say.<p>The AI tools are good, and they have their uses, but they are currently at best at a keen junior&#x2F;intern level, making the same sort of mistakes. You need knowledge and experience to help mentor that sort of developer.<p>Give it another year or two and I hope they the student will become the master and start mentoring me :)
评论 #43351247 未加载
评论 #43351344 未加载
评论 #43351272 未加载
评论 #43351737 未加载
评论 #43351322 未加载
romanovcode2 months ago
Had extremely bad experience with Cursor&#x2F;Claude.<p>Have a big Angular project, +&#x2F;- 150 TS files. Upgraded it to Angular 19 and now I can optimize build by marking all components, pipes, services etc as &quot;standalone&quot; essentially eliminating the need for modules and simplifying code.<p>I thought it is perfect for AI as it is straight forward refactor work but would be annoying for a human.<p>1. Search every service and remove the &quot;standalone: false&quot;<p>2. Find module where it is declared, remove that module<p>3. Find all files where module was imported, import the service itself<p>Cursor and Claude constantly was losing focus, refactoring services without taking care of modules&#x2F;imports at all and generally making things much worse no matter how hard &quot;prompt engineering&quot; I tried. I gave up and made a Jira task for a junior developer instead.
评论 #43351268 未加载
评论 #43351267 未加载
评论 #43351288 未加载
评论 #43351356 未加载
评论 #43351251 未加载
jumperabg2 months ago
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&#x27;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&#x27;t have coverage on some of them and the end result was missing functionality.<p>Good thing that we can use .cursorrules so this is something that partially will improve my experience - until a random company releases the best AI coding model that runs on a Rassbery Pi with 4GB ram(yes this is a spoiler from the future).
评论 #43351552 未加载
评论 #43351337 未加载
评论 #43351477 未加载
doix2 months ago
I wonder if this was real or if they set a custom prompt to try and force such a response.<p>If it is real, then I guess it&#x27;s because LLMs have been trained on a bunch of places where students asked other people to do their homework.
评论 #43351386 未加载
评论 #43351340 未加载
jeffwass2 months ago
Predicted way back in 1971 in the classic movie “Willy Wonka and the Chocolate Factory”!<p>One of the many hysterical scenes I didn’t truly appreciate as a kid.<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;tMZ2j9yK_NY?si=5tFQum75pepFUS8-" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;tMZ2j9yK_NY?si=5tFQum75pepFUS8-</a>
khaledh2 months ago
Some time circa late 1950s, a coder is given a problem and a compiler to solve it. The coder writes their solution in a high level language and asks the compiler to generate the assembly code from it. The compiler: I cannot generate the assembly code for you, that would be completing your work ... &#x2F;sarcasm<p>On a more serious note: LLMs now are an early technology, much like the early compilers who many programmers didn&#x27;t trust to generate optimized assembly code on par with hand-crafted assembly, and they had to check the compiler&#x27;s output and tweak it if needed. It took a while until the art of compiler optimization was perfected to the point that we don&#x27;t question what the compiler is doing, even if it generates sub-optimal machine code. The productivity gained from using a HLL vs. assembly was worth it. I can see LLMs progressing towards the same tradeoff in the near future. It will take time, but it will become the norm once enough trust is established in what they produce.
评论 #43353535 未加载
Scarblac2 months ago
Clearly trained on Stack Overflow answers.
评论 #43352547 未加载
ge962 months ago
I wonder if there will be a stigma in the future when looking at resumes like &quot;bootcampers&quot; but it&#x27;s &quot;vibe coders&quot;<p>Hopefully by then I won&#x27;t care as I won&#x27;t be competing anymore just making my own stuff for fun
Havoc2 months ago
I guess that&#x27;s straight out of the training data.<p>Quite common on reddit to get responses that basically go &quot;Is this a homework assignment? Do you own work&quot;.
rhdsgF2 months ago
Perhaps Cursor has learned the concept of shakedowns. It will display stolen code only if you upgrade the subscription or sign a minerals deal.
HenryBemis2 months ago
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&#x27;s a &#x27;bad idea&#x27; when I ask it to write some code (for my personal use - not work&#x2F;employment&#x2F;company) and I insist upon the &#x27;ill-advised&#x27; code structure it does it.<p>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&#x27;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&#x2F;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.
begueradj2 months ago
How to deal with technical debt in AI generated code ?
评论 #43351442 未加载
评论 #43351527 未加载
评论 #43351465 未加载
评论 #43351509 未加载
CharlieDigital2 months ago
Someone on my team complained to me about some seemingly relatively easy task yesterday. They claimed I was pushing more work onto them as I&#x27;m working on the backend and they are working on the frontend. This puzzled me so I tried it and ended up doing the work in about 1.5h<p>I did struggle through the poor docs of a relatively new library, but it wasn&#x27;t hard.<p>This got me wondering: maybe they have become so dependent on AI copilots that what should have been an easy task was seen as insurmountably hard because the LLM didn&#x27;t have info on this new-ish library.
评论 #43352557 未加载
评论 #43352568 未加载
akoculu2 months ago
This is probably coming from the safety instructions of the model. It tends to treat the user like a child and don&#x27;t miss any chance to moralize. And the company seems to believe that it&#x27;s a feature, not a bug.
orbital-decay2 months ago
Hah, that&#x27;s typical Sonnet v2 for you. It&#x27;s trained for shorter outputs, and it&#x27;s causing it to be extremely lazy. It&#x27;s a well known issue, and coding assistants contain mitigations for this. It&#x27;s very reluctant to produce longer outputs, usually stopping mid-reply with something like &quot;[Insert another 2k tokens of what you&#x27;ve been asking for, I&#x27;ve done enough]&quot;. Sonnet 3.7 seems to fix this.
评论 #43351823 未加载
andai2 months ago
I recently saw this video about how to use AI to enhance your learning instead of letting it do the work for you.[0]<p>&quot;Get AI to force you to think, ask lots of questions, and test you.&quot;<p>It was based on this advice from Oxford University.[1]<p>I&#x27;ve been wondering how the same ideas could be tailored to programming specifically, which is more &quot;active&quot; than the conceptual learning these prompts focus on.<p>Some of the suggested prompts:<p>&gt; Act as a Socratic tutor and help me understand X. Ask me questions to guide my understanding.<p>&gt; Give me a multi-level explanation of X. First at the level of a child, then a high school student, and then an academic explanation.<p>&gt; Can you explain X using everyday analogies and provide some real life examples?<p>&gt; Create a set of practice questions about X, ranging from basic to advanced.<p>Ask AI to summarize a text in bullet points, but only <i>after</i> you&#x27;ve summarized it yourself. Otherwise you fail to develop that skill (or you start to lose it).<p>---<p>Notice that most of these increase the amount of work the student has to do! And they increase the energy level from passive (reading) to active (coming up with answers to questions).<p>I&#x27;ve been wondering how the same principles could be integrated into an AI-assisted programming workflow. i.e. advice similar to the above, but specifically tailored for programming, which isn&#x27;t just about conceptual understanding but also an &quot;activity&quot;.<p>Maybe before having AI generate the code for you, the AI could ask you for what you think it should be, and give you feedback on that?<p>That sounds good, but I think in practice the current setup (magical code autocomplete, and now complete auto-programmers) is way too convenient&#x2F;frictionless, so I&#x27;m not sure how a &quot;human-in-the-loop&quot; approach could compete for the average person, who isn&#x27;t unusually serious about developing or maintaining their own cognitive abilities.<p>Any ideas?<p>---<p>[0] Oxford Researchers Discovered How to Use AI To Learn Like A Genius<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=TPLPpz6dD3A" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=TPLPpz6dD3A</a><p>[1] Use of generative AI tools to support learning - Oxford University<p><a href="https:&#x2F;&#x2F;www.ox.ac.uk&#x2F;students&#x2F;academic&#x2F;guidance&#x2F;skills&#x2F;ai-study" rel="nofollow">https:&#x2F;&#x2F;www.ox.ac.uk&#x2F;students&#x2F;academic&#x2F;guidance&#x2F;skills&#x2F;ai-st...</a>
评论 #43351592 未加载
评论 #43351668 未加载
sim7c002 months ago
disclaimer: not a programmer for a living.<p>I asked specifically the AI i interact with not to generate code or give code examples, but to highlight topics i need to better my understanding in to answer my own questions. I think it enhances my personal competences better that way, which i value above &#x27;productivity&#x27;. As i learn more, i do become more efficient and productive.<p>Some of the recommendations it comes with are hard programming skills, others are project management oriented.<p>I think this is a better approach personally to use this kind of technology as it guides me to better my hard and soft skills. long term gains over short term gains.<p>Then again, i am under no pressure or obligation to be productive in my programming. I can happily spend years to come up with a good solution to a problem, rather than having a deadline which forces to cut as many corners as possible.<p>I do think that this is how it should be in professional settings, but respect a company doesn&#x27;t always have the resources (time mostly) to allow for it. Its sad but true.<p>Perhaps someday, AIs will be far enough to solve problems properly, and think of the aspects of a problem the person sending the question has not. AIs can generate quite nice code, but only as good as the question asked.<p>If the requester doesn&#x27;t spend time to learn enough, they can never get an AI to generate good code. It will give what you ask for, warts and all!<p>I did spend some time trying to get AI to generate code for me. To me, it only highlighted the deficiencies in my own knowledge and ability to properly formulate the solution I needed. If i take the time to learn what is needed to formulate the solution fully, i can write the code to implement it myself, so the AI just becomes an augment to my typing speed, nothing else. This last part, is why i beleive it&#x27;s better to have it guide my growth and learning, rather than produce something in the form of an actual solution (in code or algorithmically).
blame-troi2 months ago
So the AI trained on Stack Overflow and Reddit and learned to say “Do your own homework”. I don’t see a problem.
z3t42 months ago
These kinds of answers are really common, I guess you have to put a lot of work in to remove all those answers from training data. For example &quot;no, I&#x27;m not going to do your homework assignment&quot;
rglynn2 months ago
Reminds me of Gemini saying C++ code was not suitable for under-18s.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39583473">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39583473</a>
patapong2 months ago
Ah the cycle of telling people to learn to code... First tech journalists telling the public, then programmers telling tech journalists, now AI telling programmers... What comes next?
ReptileMan2 months ago
BOFH vibe from this. I have also had cases of lazy ChatGPT for code generation, although not so obnoxious. What should be next - a digital spurs to nudge them in the right direction.
submeta2 months ago
Working with Cursor will make you more productive when&#x2F;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&#x27;t have had the time and resources for. And it created absolutely solid solutions. Love this new world of possibilities.
wg02 months ago
Can we be sure that this screenshot is authentic?
评论 #43351462 未加载
msvana2 months ago
Hmm this gave me an interesting project idea: a coding assitant that talks shit about your lack of skills and low code quality.
demarq2 months ago
This has nothing to do with Claude. Otherwise all other Claude interfaces would be putting out this response.
TowerTall2 months ago
That&#x27;s actually pretty good advice. He doesn&#x27;t understand his own system enough to guide the AI.
megadata2 months ago
That&#x27;s Cursor Pro. What&#x27;s the monthly subscription price for being patronized like that?
DrNosferatu2 months ago
Moralist bias:<p>Then compilers are a clutch and we all should be programming in assembly, no matter the project size.
评论 #43351925 未加载
blitzar2 months ago
They say the Ai coding assistants are like a junior developer ... sounds about right.
high_na_euv2 months ago
Thats correct answer<p>Damn, AI is getting too smart
tiniuclx2 months ago
Sounds like Claude 3.5 Sonnet is ready to replace senior software engineers already!
StefanBatory2 months ago
Ah, I see Claude has trained a lot on internet resources.<p>This made my day so far.
hexage18142 months ago
It&#x27;s StackOverflow training data guiding the model... XD
GTP2 months ago
Looks like an April&#x27;s fools joke, but it&#x27;s real :D
scudsworth2 months ago
lol @ &quot;just continue generating code, so continue then, continue until you will hit closing tags, continue generating code&quot;
iamsaitam2 months ago
I agree with Cursor
alistairSH2 months ago
800 lines is too long to parse? Wut?
apples_oranges2 months ago
&quot;I&#x27;m sorry Dave, I&#x27;m afraid I can&#x27;t do that&quot;
poulpy1232 months ago
So AI is becoming sentient ?
yapyap2 months ago
“Not sure if LLMs know what they are for (lol), but doesn’t matter as a much as a fact that I can’t go through 800 locs. Anyone had similar issue? It’s really limiting at this point and I got here after just 1h of vibe coding”<p>We are getting into humanization areas of LLMs again, this happens more often when people who don’t grasp what an LLM actually is use it or if they’re just delusional.<p>At the end of the day it’s a mathematical equation, a big one but still just math.<p>They don’t “know” shit
setnone2 months ago
This message coming from within IDE is fine i guess. Any examples from writing software or excel?
cadamsdotcom2 months ago
How funny that one model said one weird thing once. Almost as if LLMs are probabilistic machines or something :)<p>Models will keep getting better and vibe coding will keep getting easier. This will happen whether or not you agree!
setnone2 months ago
Attitude AI
评论 #43352597 未加载
aleaallee2 months ago
&quot;vibe coding&quot;... Imagine using AI to code because you don&#x27;t want to learn how to code and then you call it ViBe CoDiNg...<p>Fkin rtards.
dankobgd2 months ago
he smart
seventh122 months ago
skidMark? what is this code? sounds like a joke almost... maybe it&#x27;s some kind of April fools preparation that leaked too early
nextts2 months ago
Based AI. This should always be the response. This as boilerplate will upend deepseek and everything else. The NN is tapping into your wetware. It&#x27;s awesome. And a hard coded response could even maybe run on a CPU.
评论 #43351524 未加载