this post was submitted on 13 Jun 2023
23 points (100.0% liked)

Programmer Humor

19551 readers
1332 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Sleeping@programming.dev 0 points 1 year ago (1 children)

I wonder if someone has already created a bot that asks chat-GPT to create a piece of code, grabs it to try and run it, and then just goes back and forth with chat-GPT to fix the errors. Now the code would probably be a complete mess, but I wonder if non-coders could use it to create helpful one-off tools they can't find anywhere else.

[โ€“] Deebster@lemmyrs.org 1 points 1 year ago

It definitely exists - there's something that goes:

  1. generates code
  2. feed code back in and ask ChatGPT if it has any bugs (yes/no answer)
  3. if no, done, otherwise feed code back in and ask ChatGPT to fix it
  4. goto step 2

I can't find the link now, but you might also be interested in Auto-GPT.