> I asked chatgpt how do I do X. Chatgpt replied with the accepted answer from stack overflow, thus saving me 1 second. In theory. In practice, what Chatgpt did NOT tell me was that the top voted comment on that accepted answer said "Do not do this, doing X in this way creates a security vulnerability of type Y because of Z"
They're not regurgitating the top Stack Overflow answer. They've scraped the entire Stack Overflow page, including context in additional answers, and they've also been trained on the same question from countless other parts of the internet.
Anyway, I didn't say anything about which is preferable to use, I merely commented on where the information comes from, so your response is non sequitur. If sources like SO go away, it will affect the quality of LLM responses. "the same question from countless other parts of the internet" is a figment of your imagination when it comes to the kind of content SO accumulated. I've been in this industry for a very long time (my name appears in RFC #57) and I know what it was like to try to get answers to technical questions before SO showed up.
The most-being-wrong applies very reliably for any API, library, or language that isn't stable through time. You probably work C, or similar, where backwards breaking changes, or shifts in "the correct way", are rare. I'm jealous!
The answer being wrong at any point in time is probably < 10%, in my experience.
https://stackoverflow.com/questions/79831192/multi-line-titl...
edit: thought I'd try to check that belief but the process for getting SO to show me any information involves enough layers of question boxes and captions that I've kind of got the confirmation by giving up in annoyance.