News for hackers. Stuff that matters.
Re:Show HN: Readsql – convert SQL to most human readable format by solidsnack9000 on Sunday December 27, 2020 @12:56PM (#25552806)
By distinguishing key words from table names and column names, uppercasing can improve readability, since SQL has such a flexible/variable grammar.

If we wrote:

    select(col1, col2, col3, ..., from=table_name, limit=5)
or something like that, it's obvious what are the intrinsics and what are the variable parts without knowing anything about select but for SQL you need to know all the "sentence patterns".

There are no comments on this comment yet.