this post was submitted on 21 Sep 2023
521 points (96.6% liked)

Programmer Humor

32581 readers
1182 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 1 year ago (2 children)

Every time I have asked ChatGPT to code something it seems to lose the thread halfway through and starts giving nonsensical code. I asked it to do something simple in HP41C calculator code and it invented functions out of whole cloth.

[–] [email protected] 7 points 1 year ago

I asked it for something in Powershell and it did the same thing. I asked how it came up with that function and it said it doesn't exist but if it did that's how it would work.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

When it starts going off the rails like that I also ask it to "check its work when its done", and it seems to extend the amount of usable time before it loses the plot and suggests i use VBA or something.