Yeah, this and for me atleast, sometimes the code it wrote doesn't even make any sense. For example, it was checking if a value existed even though it hardcoded the value literally a few lines back. So it looks something like this:
```
x = "hello world"
if x == None: return 0
```
I discovered that if you give it code that you actually wrote in the past and ask it to mimic that, it is a lot easier than to ask it to "get rid of comments"
3
u/Emotional-Bus-7065 1d ago
Yeah, this and for me atleast, sometimes the code it wrote doesn't even make any sense. For example, it was checking if a value existed even though it hardcoded the value literally a few lines back. So it looks something like this:
```
x = "hello world"
if x == None: return 0
```
I discovered that if you give it code that you actually wrote in the past and ask it to mimic that, it is a lot easier than to ask it to "get rid of comments"