←back to thread

371 points ulrischa | 1 comments | | HN request time: 0s | source
Show context
jccalhoun ◴[] No.43235268[source]
I am not a programmer and i don't use Linux. I've been working on a python script for a raspberry pi for a few months. Chatgpt has been really helpful in showing me how to do things or debug errors.

Now I am at the point that I am cleaning up the code and making it pretty. My script is less than 300 lines and Chatgpt regularly just leaves out whole chunks of the script when it suggests improvements. The first couple times this led to tons of head scratching over why some small change to make one thing more resilient would make something totally unrelated break.

Now I've learned to take Chatgpt's changes and diff it with the working version before I try to run it.

replies(5): >>43235336 #>>43235422 #>>43236057 #>>43236160 #>>43245186 #
1. pks016 ◴[] No.43245186[source]
Same. I used Claude to write script for my lab experiment. I had to review and edit some stuff but it worked mostly.