All 4,799 reports

YesChatGPT · 20 Feb 2024

I got the ChatGPT script working as a drop-in replacement

oofnik on Hacker News

In the thread “How ChatGPT made me lazy”

Helped: Iterative debugging with error messages and sample data.

… I got fed up with trying to understand a bunch of arcane logic and asked ChatGPT to write me a new one. After a couple of back-and-forth rounds of copying and pasting error messages and sample data, I got the ChatGPT script working as a drop-in replacement. The new script is more readable, the logic is simpler, it took me less time to complete than either debugging the old script or writing a new one from scratch, and it was an overall more enjoyable experience. …