Re:Ben Forta – How to Generate SQL Statements with ChatGPT
by nonethewiser on Wednesday July 12, 2023 @02:14PM
(#36699192)
I agree with your sentiment but it actually occurred to me that code might actually be the reverse - where you can write more complicated code than you can read.
Re:Ben Forta – How to Generate SQL Statements with ChatGPT
by lanstin on Wednesday July 12, 2023 @02:36PM
(#36699613)
A nice corollary to Kernighan's law on debugging.
I guess it can go either way. Sometimes ChatGPT4 is great and saves me time, but the cycle of "explain what I want, get the output test/compile it, post the errors, try again" doesn't always converge quickly enough to not be more irritating than actually learning the issues in the code I'm trying to interface with. So I'll try it a bit, but if it goes back and forth more than 3 or 4 times, I'll give up and dig in to study the thing.
Most people who need to generate a query can run it and look at the results.
I use chatgpt to help me, particularly with languages I don’t write in everyday. And I often find myself arguing with chatgpt that what it wrote is wrong, because I can read the query, but don’t know how to write the query I need.