Hacker News new | ask | show | jobs
by erhserhdfd 990 days ago
Agreed. For example, I recently had an auto-generated SQL query that I needed to debug. It was formatted on one line and was impossible to read. I asked GPT-4 to clean up the query and it gave me something that was much easier to consume. I definitely could have written some script for this or tried to find another tool, but it took me 20 seconds to just ask GPT-4 and get a reasonable result.
1 comments

Did you ask GPT to do any transformation beyond what any IDE's "Format code" feature would do?
Yeah it actually gave me comments summarizing fields from related tables using shortened more readable table names