Live data from Hacker News

How I write code using Cursor

arguingwithalgorithms.com

371–380 of 426 posts

Re: How I write code using Cursor

#371

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…

Any gotchas using Cursor? Or headsup?

Re: How I write code using Cursor

#372
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.

Oops, yeah you are right

Re: How I write code using Cursor

#374

Earlier quoted context omitted.

I'm talking about web/app UI validation, are we talking about the same thing? Does F# provide ability to display validation errors with good UX to users using your app? How does it know what user friendly error messages look like? Okay very simple example prompt that will generate 100+ lines of code. "Give CRUD example using shadcn, react-hook-form, zod, trpc to create an example of a TODO app" Which programming lang…

I'm not saying that this is a solved problem today. And yeah, llms are also helpul here. What I meant is that this can be solved by a good language. But you would have to use F# (or another language with a feature like type providers) on the frontend.

It seems like F# is more like a type safety tool from arbitrary untyped data for developers rather than what I'm talking about though?

But even TypeScript can infer types in many cases?

Re: How I write code using Cursor

#375
post #335
post #263

Earlier quoted context omitted.

This is actually how I would use AI: if I forgot how to do a conversion task, I would ask AI to tell me the command so that I can run it without rejiggering my memory first. The pandoc command is literally one line with a few flags; it's easily reviewable. Then I run pandoc myself. Same thing with the multitude of other rarely used but extremely useful tools such as jq. In other words, I want AI to help me with invok…

I do that constantly. jq's syntax is especially opaque to me. "I've got some JSON formatted like . Give me a jq command that does . Google, but better.

This

Re: How I write code using Cursor

#376

Earlier quoted context omitted.

The naysayers used to bother me, but then I realized it’s no skin off my back if they don’t want to become familiar with a transformative technology. Stay with the old tools, people are getting excited for no reason at all, everyone is just pretending to be more productive! It reminds me of how blackberry users insisted physical keyboards were necessary and smartphone touchscreen users were deluded.

I think most naysayers are threatened by the inevitable decimation of our value. Supply and demand laws are going to annihilate this profession

The one thing i've seemed to notice about this technology, is that technology never really replaces people... It just forces those to add things...

More, more more is always the reaction to transformative technologies because us humans have this underlying obsession with growth and scale.

For instance, in 1910 Fords manufacturing lines were producing about 7,000 cars a week. As robotics, conveyance and general automation was introduced they didn't hire less workers, they hired more. Now they produce millions of cars per year.

Software will be the same. Devs will be expected to write more code, and produce more features. There has been an explosion in AI based hiring since.

Re: How I write code using Cursor

#377

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…

Don't mean to be rude, but was this comment written with an LLM?

Re: How I write code using Cursor

#378

Just once I'd like to see an article like this from someone who's not currently working on an AI tool (some sort of Khan Academy tutor in this case)

I've gotten a lot of mileage from simonw's blog, who as far as I know isn't working on any (paid) AI tools.

https://simonwillison.net/

Re: How I write code using Cursor

#379
Take the video of "building an HTTP REST api". On the one hand it is lighting fast to create something basic. On the other hand it misses so many details... proper error responses that the frontend - presumably there is one - can use, translations, setting up the db, infra, deploy, testing, etc. There is so much more to getting something ready for the real world.

As a learning tool and for one offs AI can be very nice.

Re: How I write code using Cursor

#380

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…

Completely agree. I find it fails miserably at business logic, which is where we spend most of our time on. But does great at generic stuff, which is already trivial to find on stack overflow.

My experience has been different. My major use case for AI tools these days is writing tests. I've found that the generated test cases are very much in line with the domain. It might be because we've been strictly using domain driven design principles It even generates test cases that fail to show what we've missed
Post reply on HN