News for hackers. Stuff that matters.
Re:Show HN: Readsql – convert SQL to most human readable format by kaizoku111 on Sunday December 27, 2020 @12:01PM (#25552350)
Was expecting something like DESCRIBE but for less technical audience.

As a heavy SQL user, I don't see much benefit in this as of yet. It is very misleading in saying it is the "most human readable" format, when the example shows the "format" to be identical to the original. Just by upper-casing keywords doesn't make it any more readable to be honest.

Anyways a good attempt, hope you're not offended by critical feedbacks and hope they are useful for some ideas to improve the tool.

Re:Show HN: Readsql – convert SQL to most human readable format by azisk1 on Sunday December 27, 2020 @01:15PM (#25552985)
Thank you for the feedback. The example in Github has code highlighting. I wonder if I should remove that and if that would make more difference. I would be interested to know how this tool could help you with your SQL usage
Re:Show HN: Readsql – convert SQL to most human readable format by garciasn on Sunday December 27, 2020 @02:25PM (#25553519)
Every IDE I use and have used for the last 15 years has included an option to format the code the way someone else believes it to be best viewed. I have never found these to be the way I prefer SQL to be formatted for the best readability.

A difficult but incredibly useful idea would be to learn the developer’s style and then format code (theirs or others’) to fit that model.