<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Buy Amoxin (Amoxicillin) Without Prescription</title> <atom:link href="http://quickduck.com/blog/2007/07/16/getvalueordefault/feed/" rel="self" type="application/rss+xml" /><link>http://quickduck.com/blog/2007/07/16/getvalueordefault/</link> <description>Straight from the mind of geniuseseses....</description> <lastBuildDate>Fri, 06 Apr 2012 12:09:04 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Buy Amoxin (Amoxicillin) Without Prescription</title><link>http://quickduck.com/blog/2007/07/16/getvalueordefault/comment-page-1/#comment-241</link> <dc:creator>Henrik</dc:creator> <pubDate>Mon, 16 Jul 2007 13:38:44 +0000</pubDate> <guid isPermaLink="false">http://quickduck.com/blog/?p=33#comment-241</guid> <description>&quot;advocating the use of creating a method just to wrap&quot; -- aha, well then, I agree with you ^^</description> <content:encoded><![CDATA[<p>&#8220;advocating the use of creating a method just to wrap&#8221; &#8212; aha, well then, I agree with you ^^</p> ]]></content:encoded> </item> <item><title>Buy Amoxin (Amoxicillin) Without Prescription</title><link>http://quickduck.com/blog/2007/07/16/getvalueordefault/comment-page-1/#comment-240</link> <dc:creator>Ben</dc:creator> <pubDate>Mon, 16 Jul 2007 13:24:54 +0000</pubDate> <guid isPermaLink="false">http://quickduck.com/blog/?p=33#comment-240</guid> <description>I don&#039;t think Gerrod is advocating the use of creating a method just to wrap the GetValueOrDefault call (as stated by the comment - pointless code is an example only).Therefore I think &lt;br/&gt; &lt;code&gt;return nullableInt.GetValueOrDefault();&lt;/code&gt; and &lt;br/&gt; &lt;code&gt;return nullableInt ?? default(int); &lt;/code&gt; are both just as readable as the other, with the exception that some n00bs might not understand the coalescing (??) operator.</description> <content:encoded><![CDATA[<p>I don&#8217;t think Gerrod is advocating the use of creating a method just to wrap the GetValueOrDefault call (as stated by the comment &#8211; pointless code is an example only).</p><p>Therefore I think<br /> <br /> <code>return nullableInt.GetValueOrDefault();</code><br /> and<br /> <br /> <code>return nullableInt ?? default(int);<br /> </code><br /> are both just as readable as the other, with the exception that some n00bs might not understand the coalescing (??) operator.</p> ]]></content:encoded> </item> <item><title>Buy Amoxin (Amoxicillin) Without Prescription</title><link>http://quickduck.com/blog/2007/07/16/getvalueordefault/comment-page-1/#comment-239</link> <dc:creator>gerrod</dc:creator> <pubDate>Mon, 16 Jul 2007 12:07:24 +0000</pubDate> <guid isPermaLink="false">http://quickduck.com/blog/?p=33#comment-239</guid> <description>True - the null coalescing operator can be used for this purpose as well.Still, I think &quot;GetValueOrDefault&quot; is more readable, which is always a good thing.</description> <content:encoded><![CDATA[<p>True &#8211; the null coalescing operator can be used for this purpose as well.</p><p>Still, I think &#8220;GetValueOrDefault&#8221; is more readable, which is always a good thing.</p> ]]></content:encoded> </item> <item><title>Buy Amoxin (Amoxicillin) Without Prescription</title><link>http://quickduck.com/blog/2007/07/16/getvalueordefault/comment-page-1/#comment-238</link> <dc:creator>Henrik</dc:creator> <pubDate>Mon, 16 Jul 2007 11:40:31 +0000</pubDate> <guid isPermaLink="false">http://quickduck.com/blog/?p=33#comment-238</guid> <description>// my method body int newInt = someNullableInt ?? default(int); // more of my method body.----Let&#039;s not complicate things.</description> <content:encoded><![CDATA[<p>// my method body<br /> int newInt = someNullableInt ?? default(int);<br /> // more of my method body.</p><p>&#8212;-</p><p>Let&#8217;s not complicate things.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: quickduck.com @ 2012-05-20 12:36:41 -->
