Re:How I write SQL
by cptskippy on Wednesday May 01, 2013 @02:34PM
(#5639907)
I disagree with you regarding legibility. I've been using commas like this in SQL for 10 years and I find it to be much more legible and functional this way.
Besides the subjective argument of legibility, what other benefits does it have?
Having a comma preceding something is an indicator that it is one of many. When debugging you can easily comment out the column, or table from a query.
Re:How I write SQL
by ebbv on Wednesday May 01, 2013 @03:03PM
(#5640092)
Again, you can comment out lines with the normal syntax too. There's no reason for this gimmick syntax. In theory it makes the last 2 elements easier to deal with but it makes the first two harder. It's silly, and it's ugly.
Besides the subjective argument of legibility, what other benefits does it have?
Having a comma preceding something is an indicator that it is one of many. When debugging you can easily comment out the column, or table from a query.