OpenAI has solved the XY problem once and for all
nt4tn.net
nt4tn.net
After asking ChatGPT to get the last 3 characters of a file name, and then asking why I wanted to do that:
> You're likely interested in extracting the file extension from the file name, as file extensions often provide information about the type or format of the file.
So these AI are reinforced to be obedient, but they might still know your mistakes. Though this isn't a particularly good answer either.
It's still not good, but it saves me a lot of time typing boilerplate for simple but long functions. It saves me TONS of time debugging Java errors. Anything complex I have to do by hand, and it's bad at application-wide refactoring of class/method hierarchies, and it's bad at general architecture. But it's 80% great for "wtf caused this compiler/runtime error" and spewing out boilerplate that I still have to double-check but I can double-check it super fast and almost always ask ChatGPT to fix things that I notice.
How exactly may I ask...?