News for hackers. Stuff that matters.
Re:On the left is GPT-3.5. On the right is GPT-4 by doctor_eval on Sunday March 19, 2023 @02:44AM (#35216635)
As a side note I just got GPT to write me some Go code and it came up with this:

    templates, err := embedFS.Sub("templates")
interestingly, this is not valid Go code (Sub is a function in the "fs" package, not a method) - but it would be quite typical in say Java.

So this mistake makes me think that GPT certainly does have a "mental model" for Go. And it's made the same kind of logical mistake I made when I first learned Go.

Re:On the left is GPT-3.5. On the right is GPT-4 by mercer on Sunday March 19, 2023 @01:37PM (#35221480)
I wonder if it does better if you instruct it to 'pose' as a Go programmer. Or even one who comments to his younger Java-model self?