I have a collection of one-liners by now which any developer could explain easily, but which ChatGPT-3.5, ChatGPT-4.0 and Bing's AI all get wrong in the same way. I think they all learned from a wrong SO explanation somewhere.
I'll part with one:
Explain in detail what resolve is in this code:
const promise = new Promise((resolve) => resolve(3));
Assume I'm unfamiliar with callbacks or promises.
All three AIs will incorrectly state in their very first sentence that resolve is passed to the promise constructor as an argument.
There's also some technologies for which they can't write correct code (they'll hallucinate their API), but any software dev could when given their documentation.
I'll part with one:
All three AIs will incorrectly state in their very first sentence that resolve is passed to the promise constructor as an argument.There's also some technologies for which they can't write correct code (they'll hallucinate their API), but any software dev could when given their documentation.