News for hackers. Stuff that matters.
Re:Getting AI to write good SQL by paulddraper on Friday May 16, 2025 @09:48PM (#44011432)
Hopefully your trust in yourself is warranted
Re:Getting AI to write good SQL by rectang on Friday May 16, 2025 @11:01PM (#44011729)
I embrace my fallibility, and enthusiastically pursue testing, code reviews, staging environments, and so on to minimize the mistakes that make it through to production.

It seems to me that this skeptical mindset is consonant with handling AI output with care.

Re:Getting AI to write good SQL by auggierose on Saturday May 17, 2025 @01:53AM (#44012314)
You'd rather trust in AI than yourself?
Re:Getting AI to write good SQL by malthaus on Saturday May 17, 2025 @02:14AM (#44012366)
in writing good sql code? i definitely would

ai is not going to replace the senior sql expert with 20 years of battle experience in the short-term but support me who last dug into sql 15 years ago and needs to get a working sql query in a project. and ai usually does a better job than me copy pasting googled code in between quickly browsing through tutorials.