News for hackers. Stuff that matters.
Re:How I write code using Cursor: A review by tyre on Tuesday October 29, 2024 @08:09AM (#41983053)
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?.)
Re:How I write code using Cursor: A review by scosman on Tuesday October 29, 2024 @08:15AM (#41983094)
Interesting. I’ve had the opposite experience (I invert or miss a condition, it catches it).

It probably comes down to model, naming and context. Until Sonnet 3.5 my experience was similar to yours. After it mostly “just works”.

Re:How I write code using Cursor: A review by williamdclt on Tuesday October 29, 2024 @01:26PM (#41987048)
That sounds more like a footgun than a desirable thing to be honest!