WTAF? Is this written by a hallucinating AI?
this post was submitted on 28 Oct 2024
505 points (98.3% liked)
Programming Humor
2688 readers
1 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
I think it's a joke (maybe)
I don't think this is the sort of error an AI would make.
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.
Sounds about right for a Java user.
can't believe they forgot to implement bool IsTrue(bool)
and bool IsFalse(bool)
🙄
bool ButAreTheyReallyEqualThough(bool orig, bool val)