Live data from Hacker News

How I write code using Cursor

arguingwithalgorithms.com

151–160 of 426 posts

Re: How I write code using Cursor

#152
post #88

I recently started using Cursor for all my typescript/react personal projects and the increase in productivity has been staggering. Not only has it helped me execute way faster, similar to the OP I also find that it prevents me from getting sidetracked by premature abstraction/optimization/refactoring. I recently went from an idea for a casual word game (aka wordle) to a fully polished product in about 2h, which woul…

You're happy to have gone from thinking of cloning something to cloning something using a cloning tool quickly?

Your remark raises a question : how much of your daily work is truely original ?

Unless you work in R&D i've got some bad news for you..

Re: How I write code using Cursor

#153

Earlier quoted context omitted.

Half an hour is still an overestimation, most of these frontend tools go from 0 to hello world in a single CLI command.

On a good day, when you're using the most recent right version of MacOS, when all of the frontend tool's couple thousand dependencies isn't transiently incompatible with everything else, yes. (If no, AI probably won't help you here either. Frontend stuff moves too fast, and there's too much of it. But then perhaps the AI model could tell you that the frontend tool you're using is a ridiculous overkill for your proble…

I'll be honest, I've never had the command line tool to setup a React / NextJS / Solid / Astro / Svelt / any framework app fail to make something that runs, ever

Re: How I write code using Cursor

#154
post #7

In the article, you mentioned that you've been writing code for 36 years, so don't you feel IDEs like cursor make you feel less competent? Meaning I loved the process of scratching my head over a problem and then coming to a solution but now we have AI Agents solving the problems and optimizing code which takes the fun out of it.

I’ve been using cursor for a while now and I think that if a problem is simple enough for an LLM to work out on its own, it’s probably not worth scratching one’s head over…

I don't agree, in the initial stages solving problems without LLMs will give a good enough knowledge about the intricacies involved and it helps develop a structured approach while solving a problem!

Re: How I write code using Cursor

#155
post #149

Earlier quoted context omitted.

> IA generated content is the definition of slop The irony.

https://en.wikipedia.org/wiki/Slop_(artificial_intelligence) English is not my mother tonge. I have never noticed the word "slop" until people started to use it to talk about AI generated content. So for many people around the world slop = AI content. Where is the irony if I may ask?

You misspelled AI - that's the extent of the irony

Re: How I write code using Cursor

#156

In the article, you mentioned that you've been writing code for 36 years, so don't you feel IDEs like cursor make you feel less competent? Meaning I loved the process of scratching my head over a problem and then coming to a solution but now we have AI Agents solving the problems and optimizing code which takes the fun out of it.

I think you are still thinking just on another level. E.g. you go on a walk, you fantasize about everything you are going to do, and it builds up in your head, then you come back, it is all in your head and AI will help you get it out quickly, but you have already solved the problem for yourself and so you are also able to validate quickly what the AI does.

yes this!!! Whenever I write a prompt, I tend to divide it into smaller prompts, and in this process, my brain thinks of multiple ways to solve the problem. So yes, it's not limiting my thought process. I didn't notice this thing until I read this.

Re: How I write code using Cursor

#157
post #149

Earlier quoted context omitted.

https://en.wikipedia.org/wiki/Slop_(artificial_intelligence) English is not my mother tonge. I have never noticed the word "slop" until people started to use it to talk about AI generated content. So for many people around the world slop = AI content. Where is the irony if I may ask?

You misspelled AI - that's the extent of the irony

In my mother tongue is called IA, inteligecia artificial. I mix it up all the time.

Re: How I write code using Cursor

#158

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 have a corporation-sponsored subscription to Github CoPilot + Rider

When I'm writing unit tests or integration tests it can guess the boilerplate pretty well.

If I already have a AddUserSucceeds test and I start writing `public void Dele...` it usually fills up the DeleteUserSucceeds function with pretty good guesses on what Asserts I want there - most times it even guesses the API path/function correctly because it uses the whole project as context.

I can also open a fresh project I've never seen and ask "Where is DbContext initialised" and it'll give me the class and code snippet directly.

Re: How I write code using Cursor

#159

Wow, I did not expect to see such negativity in this thread. Most of them read to me like the "Dropbox is just an FTP"-narrative. Yes, you and your pride can do most of these things in 0.3ms and better, but so will 1 million more people now. You can do most of the things the author showed with your craftfully set-up IDE and magic tricks, but that's not the point. I don't want to spend a lifetime setting up these thin…

I would personally like to a join a breakaway HN for people who actually want to use these tools.

"AI positive Hacker News" or something like that.

There is just really not much point in reading anything on AI here. I get it, AI sucks. Next.

Re: How I write code using Cursor

#160
post #141

Earlier quoted context omitted.

I agree. I replaced SO with cGPT and it’s the only good case I found. Finding an answer I build onto. But outsourcing my reflexion ? That’s a dangerous path. I tried on small projects to do that, building a project from scratch with cursor just to test it. Sometimes it’s right on spot but in many instances it misses completely some cases and edge cases. Impossible to trust blindly. And if I do so and not take proper…

The AI's are to a large degree trained on tutorial code, quick examples, howto's and so on from the net. Code that really should come with a disclamer note: "Dont use in production, only example code.". This leads to your code being littered with problematic edge-cases that you still have to learn how to fix. Or in worst case you don't even notice that there are edge cases because you just copy-pasted the code and it…

Which makes me wonder, if old companies with a history of highly skilled teams would train local models, how better would they be at helping solve new complex problems.
Post reply on HN