Hacker News new | ask | show | jobs
by RyanHamilton 7 days ago
I've tried and tried to get an LLM to delete code, it couldn't do it. I knew a file was 40% bad so what I ended up doing was deleting the file, then asking AI to create the missing file. That's how I got AI to delete code :)
2 comments

Have you tried asking it to rewrite a file with less lines of code? It can do this.
Sounds like the AI got you to delete the code for it.