4 ms·
While I was initially very impressed with ChatGPT, I found that in lesser known programming languages, it returned more incorrect answers than correct ones. I'v
by aquova 4y ago
While I was initially very impressed with ChatGPT, I found that in lesser known programming languages, it returned more incorrect answers than correct ones. I've been doing AoC in Nim this year, and so I tried asking it some Nim questions, to which it confidently completely made up nearly everything.
"Does Nim have a REPL interface?" Yes, it told me, and even gave the command to use it (just `nim`). Except Nim doesn't have one, and the command simply prints out instructions on how to use the compiler.
"Can you do list comprehension, ala Python?" Yes, and again provided examples, despite Nim not supporting the feature. Even asking it something it something the language does support, such as an example of thread-safe parallel code, had it use functions that don't exist. It was quite odd.
I've had friends say that it worked so well that it taught them functions in their languages they didn't know existed, but I was left a bit disappointed.