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

Programmer Humor

19829 readers
810 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Sleeping 3 points 2 years ago (2 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 2 years 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 2 years ago

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