An unused variable!?
/clutches_pearls
Comment on ChatGPT Isn't as Good at Coding as We Thought
turkalino@lemmy.yachts 1 year ago
I asked it to write a bash script which simply read a couple inputs using readline and then ran a couple commands inside an if/else
It declared a variable that it never used. I pointed out the mistake and asked to remove the line. It simply renamed the variable.
I’d trust an unpaid intern more
An unused variable!?
/clutches_pearls
fluxion@lemmy.world 1 year ago
Hah hah… What a dummy!
discreetly pushes his unused variables under desk with his foot