Live data from Hacker News

Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

jstoppa.com

21–30 of 83 posts

Re: Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

#21
post #11

My first experience with Cursor: starting it from WSL doesn't work, went down a number of GitHub rabbit holes to fix that one. Then on every update it breaks the original "code" shortcut because it has it's path with both "code" and "cursor" launchers in PATH; it ostensibly gives you the choice to register either or both, but I fail to see how that can work with this setup. It's actually a nice tool but I'm getting a…

[dead]

Re: Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

#22
post #5

Something that's been amusing me about Cursor is that I feel a lot of the excitement about it isn't so much about Cursor, it's people realizing that LLMs have got REALLY good at writing code now. GPT-4 was good for the past year, but the latest models (especially Claude 3.5 Sonnet) are spectacular. Those of us who've been copying and pasting LLM-generated code back and forth from ChatGPT and Claude.ai for the past ye…

I don’t share the sentiment that it’s “very good”. It’s strongly mediocre at basic tasks and regularly fails at anything complex.

Re: Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

#24
post #5

Something that's been amusing me about Cursor is that I feel a lot of the excitement about it isn't so much about Cursor, it's people realizing that LLMs have got REALLY good at writing code now. GPT-4 was good for the past year, but the latest models (especially Claude 3.5 Sonnet) are spectacular. Those of us who've been copying and pasting LLM-generated code back and forth from ChatGPT and Claude.ai for the past ye…

I must be living in a different universe, every single LLM I've tried are shit at the details/nuances of writing code.

Re: Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

#25
Damn. I was so excited to try Cursor and when I set it up all my plug-ins got screwed up and go to def no longer worked. I guess I’ll try again this weekend.

I really want to code with voice to text via LLM. Why am I typing any code with my hands these days?

Re: Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

#26
post #5

Something that's been amusing me about Cursor is that I feel a lot of the excitement about it isn't so much about Cursor, it's people realizing that LLMs have got REALLY good at writing code now. GPT-4 was good for the past year, but the latest models (especially Claude 3.5 Sonnet) are spectacular. Those of us who've been copying and pasting LLM-generated code back and forth from ChatGPT and Claude.ai for the past ye…

How would you compare GPT-4o with Claude 3.5 Sonnet?

Not parent but Claude any day of the week, it seems to keep context and do what I ask it better.

Re: Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

#27
post #20

I’ve been using GitHub Copilot as my daily driver. It is now as indispensable as the Vim extension for VSCode. It doesn't write much new code for me and, frankly, it fails miserably at most tasks. However, it does a phenomenal job with auto-completion. So, while I still feel like I am in the driver's seat, it does help me achieve tremendously more by simply extending what I have already started. But that should be no…

I read you post, I am not sure I agree with:

> transforming a tool of empowerment into an amplifier of existing disparities.

Which disparity are we talking about? That of non-coders vs coders?

It used to be that someone who did not know how to code had zero chance of writing any program that runs.

Enabling these people to write code is a massive empowerment unlike any we have seen before. Hundreds of millions of people who had no chance of writing working code before will be able to do so if they wish. That's a lot of people reaching for lots of ideas. I doubt that genius and insanely productive programmer, would be able to outcompete all these competitors that previously did not exist.

I don't think we fully comprehend what this will mean in the future - but I doubt it amplifies disparity.

Re: Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

#28
post #10
post #5

Something that's been amusing me about Cursor is that I feel a lot of the excitement about it isn't so much about Cursor, it's people realizing that LLMs have got REALLY good at writing code now. GPT-4 was good for the past year, but the latest models (especially Claude 3.5 Sonnet) are spectacular. Those of us who've been copying and pasting LLM-generated code back and forth from ChatGPT and Claude.ai for the past ye…

I would love to see someone on stream use AI really effectively. I really try, but for the life of me, I can’t get AI to generate anything useful beyond simple tests. They’re still autocomplete++ for me.

I find it effective to treat it like a junior, and provide detailed and specific tasks. Ie usual LLM usage.

A recent e.g. "Use the Javascript module pattern to create a module that stores audio chunks, recording state, and exposes functions to start and stop recording, and to store audio data"

It's a really simple task, but that prompt saved me 20 minutes of typing and futzing about. It also named the module sensibly, based on context from the rest of the code I guess. Then it prompted me on what to change in the calling code to use the new module (this wasn't 100% right, but still saved me a couple rounds of running the code and fixing problems).

It's taken me a while to change my habit of working out how to do what I want to do and then editing code, to rather just saying what I want to do, and being specific about it.

Re: Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

#29
post #5

Something that's been amusing me about Cursor is that I feel a lot of the excitement about it isn't so much about Cursor, it's people realizing that LLMs have got REALLY good at writing code now. GPT-4 was good for the past year, but the latest models (especially Claude 3.5 Sonnet) are spectacular. Those of us who've been copying and pasting LLM-generated code back and forth from ChatGPT and Claude.ai for the past ye…

I must be living in a different universe, every single LLM I've tried are shit at the details/nuances of writing code.

Claude has no trouble with SQL queries, writing tests, utility functions, component sketches (React). But as soon as I start giving it reasonably complex stuff like interdependent generics (TypeScript) or intricate custom logic implementation on top of well-known frameworks, it quite often goes around in circles or outputs code with incorrect syntax.

You know, the stuff that I would actually feel as though I was receiving intellectual help with.

Current LLMs are _great_ at doing chores. They are not so great at producing cohesive, professional-grade code.

Re: Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet

#30
post #12
post #7

Earlier quoted context omitted.

I haven't done anything with Cursor that I wouldn't be able to do without it so far, but for me it's made certain tasks _much_ faster.

I have, I wrote a GPU implementation of marching cubes algorithm in GLSL that shows realtime topology viewer of electron density grids by slicing through an electron voxel grid represented as a 3D texture on the GPU. I dont know GLSL, (but I am very experienced with C/C++/Python), and I wrote this by using cursor and muddling through it, all in one afternoon. Could I have learnt GLSL and coded it myself, maybe, maybe…

My issue with this line of argument is that people always want to compare "do it with Copilot" to "do it completely by scratch" when they should be comparing it to "do it by ignorantly copy-pasting from one of the many similar projects on GitHub then tweaking a few things." There are quite a few open-source GLSL implementations of marching squares, maybe copy-pasting would have been faster and higher-quality.
Post reply on HN