Live data from Hacker News

How I write code using Cursor

arguingwithalgorithms.com

381–390 of 426 posts

Re: How I write code using Cursor

#382

Earlier quoted context omitted.

To an ideological position like yours, I would say... maybe? I, for one, am happy to pay for good solutions and let the market figure it out. If there are open source solutions that are just as smooth, that's great. I've seen a few, but none have been as good thus far.

I've been keeping an eye out for a good, free software development tool like this but I've also seen nothing viable yet. The main problem really seems to be that the required hardware is expensive and resource intensive which keeps most of the talent from being able to work on it. Once the required hardware becomes more common place I think multiple free software versions will pop up to fill the niche.

Have you looked at Continue.dev? It’s open source and allows both local/open source and commercial models. It’s definitely got challenges / bugs (particularly for remote dev) but I think is worth a look.

Re: How I write code using Cursor

#383

I've been using AI to solve isolated problems, mainly as a replacement of search engine specifically for programming. I'm still not convinced of these "write whole block of code for me" type of use case. Here's my arguments against the videos from the article. 1. Snake case to camelCase. Even without AI we can already complete these tasks easily. VSCode itself has command of "Transform to Camel Case" for selection. I…

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…

> it can understand

It can't understand. That's not what LLMs do.

Re: How I write code using Cursor

#384

Why is 60 - 70% of my screen whitespace on this website (Or maybe more accurately... light pink space?) If cursor made those margins, humans 1 cursor 0

I actually like it. Better readability and the empty space can be used for showing citations, which the author seems to do a lot.

Re: How I write code using Cursor

#385

I've been using AI to solve isolated problems, mainly as a replacement of search engine specifically for programming. I'm still not convinced of these "write whole block of code for me" type of use case. Here's my arguments against the videos from the article. 1. Snake case to camelCase. Even without AI we can already complete these tasks easily. VSCode itself has command of "Transform to Camel Case" for selection. I…

Have you tried Cursor, or is this just your guess at what your evaluation would be?

Re: How I write code using Cursor

#387
post #324
post #232

Earlier quoted context omitted.

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.

I’m looking at 150000 lines of Swift divided over some local packages and the main app, excluding external dependencies

Re: How I write code using Cursor

#388
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…

> Why can't we have a LLM cache for a project just like I have a build cache? Analyze one particular commit on the main branch very expensively

It's not just very expensive - it's prohibitively expensive, I think.

Re: How I write code using Cursor

#389

Earlier quoted context omitted.

> But does great at generic stuff, which is already trivial to find on stack overflow. The major difference is that with Cursor you just hit "tab", and that thing is done. Vs breaking focus to open up a browser, searching SO, finding an applicable answer (hopefully), translating it into your editor, then reloading context in your head to keep moving.

The benefits of exploring is finding alternatives and knowing about gotchas. And knowing more about both the problem spaces and how the language/library/framework solves it.

I've had o1 respond with a better alternative before. And it's only going to get better.

Re: How I write code using Cursor

#390

I think AI is still nowhere near where it needs to be to provide business value in software development. As an experiment, some time ago, I tried to build a TODO app entirely with AI prompts. I used a special serverless platform on the backend to store the data so that it would persist between page refreshes. I uploaded the platform's frontend components README file to the AI as part of the input. Anyway, what happen…

do you feel like it needs a major architectural change or breakthrough leap in abstraction before it can provide business value in software development, or would far larger context window sizes be enough for it to provide substantial value already? For me it feels like it just starts to break after a certain length, but may not require a breakthrough new architecture to provide more value. Just larger context window…

Can be, yes. I think besides the context window size though, there is the issue that performance seems to decline as the input size increases. It can become a problem before you reach the context window size limits.
Post reply on HN