Earlier quoted context omitted.
No one uses it to generate code. Really. Talk to people who actually use it and listen to what they say… they use it to help them write code. If you try to generate code, you’ll find it underwhelming, and frankly, quite rubbish. However, if you want an example of what I’ve seen multiple people do: 1) open your code in window a 2) open chatgpt in window b (side by side) 3) you write code. 4) when you get stuck, have a…
That matches my experience. It's a sort of shortcut to the old process of googling for examples and sifting through the results. And those results, I didn't typically cut and paste from them, or if I did, it was mostly as a sort of a scaffold to build from, including deleting a fair amount of what was there. Many times it works really well, and it surfaces the kind of example I need. Sometimes it works badly. Usually…
The fact that it usually had errors didn't bother me at all -- it got much of the way there, and it did so by doing the stuff that is slowest and most boring for me: finding the right libraries / functions / API set up, structuring the code within the broader sweep.
Interesting side note: un-popular languages, but ones that have been around for a long time and have a lot of high-quality and well-documented code / discussion / projects around, are surprisingly fecund. Like, it was surprisingly good at elisp, given how fringe that is.