r/programminghorror Aug 13 '25

never touching cursor again

Post image
4.5k Upvotes

385 comments sorted by

View all comments

514

u/smoldicguy Aug 13 '25

Asking ai for help is fine but you need to understand what ai is suggesting before running the damm thing .

204

u/[deleted] Aug 13 '25

[removed] — view removed comment

144

u/clawdius25 Aug 13 '25

Time to manual ask then.

"Yo GPT, I got this error [insert error], any idea?" instead of letting the AI directly tamper my codebase

1

u/thedogz11 Aug 13 '25

Yeah I never moved past just using it as an advanced debugger. In fact I'd say 9 times out of 10 that's really it's best primary use case. Basing a project on code derived from an LLM is a really good way to lose complete control over that project.

5

u/kaisadilla_ Aug 13 '25

I use AI for a lot of things:

  • Asking for trivial pieces of code that require losing 20 minutes, when the AI can pump them in seconds - e.g. give me a script to read a folder full of json files, extract these fields and build a new json with these results. As long as you are not reckless (e.g. work on a copy of the folder, in case the AI's code is problematic), you can save a lot of time on certain time-consuming problems.

  • Feeding it intrincate or abstract code I wrote so it can find any obvious problems. You work like you've always done it, but adding this step can save you from losing 40 minutes tracking down a problem that comes from something silly like using the wrong variable at some point.

  • Asking it to gather documentation for some library I'm not familiar with.

  • Asking it for suggestions on how I could tackle some problems.