News for hackers. Stuff that matters.
Re:Aider: AI pair programming in your terminal by wongarsu on Thursday April 11, 2024 @09:16AM (#40001763)
One example where I successfully used an AI tool (plain ChatGPT) went a bit like this:

Me: Can you give me code for a simple image viewer in python? It should be able to open images via a file open dialog as well as show the previous and next image in the folder

GPT: [code doing that with tkinter]

Me: That code has a bug because the path handling is wrong on windows

GPT: [tries to convince me that the code isn't broken, fixes it regardless]

Me: Can you add keyboard shortcuts for the previous and next buttons

GPT: [adds keyboard shortcuts]

After that I did all development the old fashioned way, but that alone saved me a good chunk of time. Since it was just internal tooling for myself code quality didn't matter, and I wasn't too upset about the questionable error handling choices

There are no comments on this comment yet.