<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Life is grand - Latest Comments in Before the comma</title><link>http://lifeisgrand.disqus.com/</link><description></description><language>en</language><lastBuildDate>Thu, 19 Jan 2006 16:49:00 -0000</lastBuildDate><item><title>Re: Before the comma</title><link>http://paulmwatson.com/journal/2006/01/18/before-the-comma/#comment-1279654</link><description>a leading comma makes it clear that the line is a continuation of the one above it.&lt;br&gt;&lt;br&gt;it's still ugly and wrong.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">cleek</dc:creator><pubDate>Thu, 19 Jan 2006 16:49:00 -0000</pubDate></item><item><title>Re: Before the comma</title><link>http://paulmwatson.com/journal/2006/01/18/before-the-comma/#comment-1279653</link><description>Meh, it should be quite clear why this was done this way:&lt;br&gt;&lt;br&gt;To screw with your mind. You will now spend at least 30 mins and one blog post wondering about why MS did this. Other people will attempt to justify it. In the end MS has achieved their sinister goals - massive producivity loss... :p</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Octavo</dc:creator><pubDate>Thu, 19 Jan 2006 06:24:00 -0000</pubDate></item><item><title>Re: Before the comma</title><link>http://paulmwatson.com/journal/2006/01/18/before-the-comma/#comment-1279652</link><description>I use the comma at the beginning of a line method too.&lt;br&gt;&lt;br&gt;a) because it makes it easy to comment out bits of code without having to alter the line above to remove the trailing comma&lt;br&gt;&lt;br&gt;for the similiar reasons my where clauses look like&lt;br&gt;&lt;br&gt;where&lt;br&gt;a = b&lt;br&gt;or&lt;br&gt;c = d&lt;br&gt;and&lt;br&gt;a &amp;#38;gt; b&lt;br&gt;&lt;br&gt;so much easier to comment out bits of code whilst debugging the query</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Butler</dc:creator><pubDate>Wed, 18 Jan 2006 17:05:00 -0000</pubDate></item><item><title>Re: Before the comma</title><link>http://paulmwatson.com/journal/2006/01/18/before-the-comma/#comment-1279651</link><description>That is the likely explanation Colin but I'd hope the SQL team came to that coding style after some thought rather than just one coders preference.&lt;br&gt;&lt;br&gt;Anybody know if I can change the templates in Management Studio?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Watson</dc:creator><pubDate>Wed, 18 Jan 2006 13:10:00 -0000</pubDate></item><item><title>Re: Before the comma</title><link>http://paulmwatson.com/journal/2006/01/18/before-the-comma/#comment-1279650</link><description>It has more to do with the preference of the man or woman that built that specific function in SQL...  I seriously doubt there are any good studies that show someone would be more likely to leave a trailing comma than a preceding one.  But I've been wrong before.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Colin D. Devroe</dc:creator><pubDate>Wed, 18 Jan 2006 12:56:00 -0000</pubDate></item><item><title>Re: Before the comma</title><link>http://paulmwatson.com/journal/2006/01/18/before-the-comma/#comment-1279649</link><description>Possibly but after awhile I will become blind to commas preceding the value just as I am now blind to commas after the value.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Watson</dc:creator><pubDate>Wed, 18 Jan 2006 12:26:00 -0000</pubDate></item><item><title>Re: Before the comma</title><link>http://paulmwatson.com/journal/2006/01/18/before-the-comma/#comment-1279648</link><description>I think it's just a visual reminder that makes it less likely to forget to add a comma when appending or inserting to the column list.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve Crane</dc:creator><pubDate>Wed, 18 Jan 2006 12:15:00 -0000</pubDate></item></channel></rss>