this post was submitted on 28 Oct 2024
505 points (98.3% liked)

Programming Humor

2615 readers
9 users here now

Related Communities [email protected] [email protected] [email protected] [email protected]

Other Programming Communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

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

WTAF? Is this written by a hallucinating AI?

[–] [email protected] 3 points 1 week ago

I think it's a joke (maybe)

[–] [email protected] 2 points 1 week ago

I don't think this is the sort of error an AI would make.

[–] [email protected] 1 points 1 week ago

I’ve asked ChatGPT to create boiler plate code and it will offer these nested functions so you can change the logic in the future. It’s not smart enough to ask why you’re doing something a particular way or suggest a better alternative.