Live data from Hacker News

How I write code using Cursor

arguingwithalgorithms.com

321–330 of 426 posts

Re: How I write code using Cursor

#321
post #186

I have tried both cursor and cline (formerly continue dev), and I don't seem to see the incredible performance boost using cursor like a lot of people say

Small correction: Cline is former Claude Dev.

Continue Dev is a different extension which continues with the same name.

Re: How I write code using Cursor

#322

It's amazing how little of my colleagues don't use Cursor simply because they haven't taken the 10 minutes to set it up. It's amazing how many naysayers there are about Cursor. There are many here and they obviously don't use Cursor. I know this because they point out pitfalls that Cursor barely runs into, and their criticism is not about Cursor, but about AI code in general. Some examples: "I tried to create a TODO…

I don't use it because I already use JetBrains (Pycharm, mostly). Hard to see any value add of Cursor over that. For a lighter-weight IDE I use Zed

lol so you have no idea?

Re: How I write code using Cursor

#323
post #187

Earlier quoted context omitted.

I started like this. Then I came around and can’t imagine going back. It’s kinda like having a really smart new grad, who works instantly, and has memorized all the docs. Yes I have to code review and guide it. That’s an easy trade off to make for typing 1000 tokens/s, never losing focus, and double checking every detail in realtime. First: it really does save a ton of time for tedious tasks. My best example is test…

I’ve found it better at writing tests because it tests the code you’ve written vs what you intended. I’ve caught logic bugs because it wrote tests with an assertion for a conditional that was backwards. The readable name of the test clearly pointed out that I was doing the wrong thing (the test passed?.)

That sounds more like a footgun than a desirable thing to be honest!

Re: How I write code using Cursor

#324
post #232

Earlier quoted context omitted.

>My best example is test cases. I can write a method in 3 minutes, but Sonnet will write the 8 best test cases in 4 seconds For me it doesn't work. Generated tests fail to run or they fail. I work in large C# codebases and in each file I have lots of injected dependencies. I have one public method which can call lots of private methods in the same class. AI either doesn't properly mock the dependencies, either ignore…

For me it's the same. It's usually just some hallucinated garbage. All of these LLM's don't have the full picture of my project. When I can give them isolated tasks like convert X to Y, create a foo that does bar it's excellent, but for unit testing? Not even going to try anymore. I write 5 unit tests manually that work in the time I write 5 prompts that give me useless stuff that I need to add manually. Why can't we…

"It's usually just some hallucinated garbage. All of these LLM's don't have the full picture of my project."

Cursor can have whole project in the context, or you can specify specific files that you want.

Re: How I write code using Cursor

#325
post #41

That article reads just like half-a--ed chatgpt prompt designed to shill Cursor because it became irrelevant after introduction of Canvas tool.

Also good to note the author is currently involved in building - yet another - ChatGPT wrapper, so I'm not surprised at all he's hyping and shilling AI tools/Cursor.

Re: How I write code using Cursor

#326

It's amazing how little of my colleagues don't use Cursor simply because they haven't taken the 10 minutes to set it up. It's amazing how many naysayers there are about Cursor. There are many here and they obviously don't use Cursor. I know this because they point out pitfalls that Cursor barely runs into, and their criticism is not about Cursor, but about AI code in general. Some examples: "I tried to create a TODO…

Cursor's show-stopping problem is not if it is useful, the problem is that it is proprietary. These sorts of tools are fun to play with to try out things that might be useful in the future but relying on them puts you at the mercy of a VC backed company with corresponding dodgy motivations. The only way these technologies will be acceptable for widespread use is to measure them as we do programming languages and to only adopt free software implementations.

Re: How I write code using Cursor

#327
post #27

Any thoughts on how does cursor compare to cline (claude.dev) and aider?

I tried Cursor but I honestly didn't see a huge improvement over VSCode + Continue.Dev. Cursor is better at editing multiple files, and it's cheaper than using the API directly... But I prefer VSCode + Continue.Dev (for chat) + Supermaven (for completions).

Cline, on the other hand, is a whole different beast. It edit multiple files, run the program, checks the shell for errors, go back to the files, edit them, run it again, and even access localhost:8000 to check. It's incredible! But if you use the recommended Sonnet 3.5, it'll eat your money very fast.

I've been using Cline + 4o-mini for a few days. Sometimes it's magical; it's the first time I truly feel that I have an assistant. I tell it 'run, check for errors, and correct them' and I leave to grab some coffee.

The bad side: I got lazy and once I almost let it delete rows in a table because it misunderstood what I said.

Re: How I write code using Cursor

#328

Earlier quoted context omitted.

Have you tried recently to start a new web app from scratch? Specially the integration of frontend framework with styling and the frontend backend integration. Oh my god get ready to waste a full weekend just to setup everything and get a formatted hello world.

Most frontend frameworks come with usable templates. Setting up a new Vite React project and getting to a formatted hello world can be done in half an hour tops.

Yep, it will likely work and do what it's supposed to do. But what it's supposed to do is probably only 90% of what you want: try to do anything out of what the boilerplate is setup for and you're in for hours of pain. Want SWC instead of TSC? Eslint wasn't setup, or not like you want? Prettier isn't integrated with ESlint? You want Typescript project references? Something about ES modules vs CJS? Hours and hours and hours of pain.

I understand all this stuff better than the average (although not a top 10%), and I'd be ashamed to put a number of the amount of hours I've lost on setting up boilerplate _even_ having used some sort of official generator

Re: How I write code using Cursor

#329
post #27

Any thoughts on how does cursor compare to cline (claude.dev) and aider?

I'm a skeptic, but this weekend I worked with Cline in vscode (using free gemini nano backend and free mistral backend via openrouter) and managed to make some progress on a flutter app I'm working on.

Flutter/Dart isn't something I'm actually familiar with though I have a lot of dev experience, so I was able to distinguish between poor advice and good advice from the agent. There was a good share of frustrating code deletion happening that required stern instruction adjustment.

For work I'd be concerned about sharing our IP and would want to be on an LLM tier that promises privacy, or maybe even a local LLM.

All in all I was more impressed than I thought I would be.

Re: How I write code using Cursor

#330

It's amazing how little of my colleagues don't use Cursor simply because they haven't taken the 10 minutes to set it up. It's amazing how many naysayers there are about Cursor. There are many here and they obviously don't use Cursor. I know this because they point out pitfalls that Cursor barely runs into, and their criticism is not about Cursor, but about AI code in general. Some examples: "I tried to create a TODO…

I've been a paying customer for Jetbrains IDE for years.

After trying Cursor, I'd say if I were Jetbrains devs I'd be very worried. It's a true paradiam shift. It feels like Jetbrains' competitve edge over other editors/IDEs mostly vanished overnight.

Of course Jetbrains has its own AI-based solution and I'm sure they'll add more. But I think what Jetbrains excels -- the understanding of semantics -- is no longer that important for an IDE.

Post reply on HN