A Dispassionate Examination of the Empirical Evidence Regarding Positional Punctuation in SQL

mode.com

This is a surprisingly interesting article on a long-running religious war: leading or trailing commas in SQL? The conclusion is that there is a consistently-observable decrease in error rate due to usage of leading commas! This doesn't totally surprise me. But I, like the author of this post, (the inimitable Benn Stancil of Mode) find myself unrepentant. Benn's comments in the final paragraph are at the same time amusingly extreme, but I also do agree: I refuse to use leading commas simply because I find them ugly, and I do not want to stare at code all day that I find ugly. Error rates be damned.

This is somewhat of a silly topic, but it's a surprisingly good analysis from one of the most authoritative sources possible.

Read more...
Linkedin

Want to receive more content like this in your inbox?