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

Programmer Humor

19448 readers
270 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 3 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.

[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] Sleeping 1 points 1 year ago

Oh wow! That looks awesome! I'll definitely have to star that.