Discussion

I'm puzzled how anyone trusts ChatGPT for code

I asked ChatGPT to convert a simple 12-line Python program to Lisp.

The result is broken by mismatched brackets. Yes. In Lisp.

I ask for correction and receive the errant bracket moved, still mismatched.

I ask again and the bracket gets removed. Fine??

No. A loop break has been mistranslated to a return from function, so execution is nonsense.

I wonder how much user faith in ChatGPT is based on examples in which the errors are not apparent ... to a certain kind of user.

133 points chrisjj 2 years ago 189 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton