> Has to anyone asked ChatGPT to refactor existing horrible code?
I'm not sure if "horrible" but I did experiment with getting it to refactor some code. I also gave it code with a bug and asked it to fix it (I described the bug), which it was able to do. I didn't test very complicated scenarios though. In the bug fix case, it was code to wrap, indent, and prefix a block of text.
I'm not sure if "horrible" but I did experiment with getting it to refactor some code. I also gave it code with a bug and asked it to fix it (I described the bug), which it was able to do. I didn't test very complicated scenarios though. In the bug fix case, it was code to wrap, indent, and prefix a block of text.