<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx</link><description>My sadly soon-to-be-erstwhile coworker Cyrus made me a lolgeek shirt to go with this series of blog articles: Cyrus, needless to say, is a big goof. Thanks, dude!</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#6771085</link><pubDate>Fri, 14 Dec 2007 19:50:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6771085</guid><dc:creator>Luke</dc:creator><description>&lt;p&gt;Is it wrong that I love this sort of thing? &amp;nbsp;Alas, I'm a nerd, through and through.&lt;/p&gt;
</description></item><item><title>re: Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#6771882</link><pubDate>Fri, 14 Dec 2007 22:18:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6771882</guid><dc:creator>Tanveer Badar</dc:creator><description>&lt;p&gt;But I must say that i++ spoils all the fun. We are talking about immutable data structures and it mutates 'i'.&lt;/p&gt;
</description></item><item><title>re: Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#6772087</link><pubDate>Fri, 14 Dec 2007 22:55:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6772087</guid><dc:creator>Eric Lippert</dc:creator><description>&lt;p&gt;Yeah, stupid i++ !&lt;/p&gt;
</description></item><item><title>re: Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#6774399</link><pubDate>Sat, 15 Dec 2007 05:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6774399</guid><dc:creator>silky</dc:creator><description>&lt;p&gt;Well, the object held in &amp;quot;i&amp;quot; isn't mutated (probably, we can't be sure because maybe &amp;quot;i&amp;quot; isn't an int and there is some funky operator overloading going on) the variable &amp;quot;i&amp;quot; is just set to something else.&lt;/p&gt;
</description></item><item><title>re: Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#6777643</link><pubDate>Sat, 15 Dec 2007 16:54:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6777643</guid><dc:creator>Tanveer Badar</dc:creator><description>&lt;p&gt;Trust your instinct. I am not a compiler who is paranoid of even ++ and the language ain't C# either where overloading + automatcially gives you cousins for free. I must assume that ++ mutates the object it is invoked on.&lt;/p&gt;
</description></item><item><title>re: Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#6778232</link><pubDate>Sat, 15 Dec 2007 18:32:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6778232</guid><dc:creator>Eric Lippert</dc:creator><description>&lt;p&gt;I am not following the train of thought of either of you.&lt;/p&gt;
&lt;p&gt; If i contains an int then the int is not mutated; ints are immutable.&lt;/p&gt;
&lt;p&gt;The operand of the ++ operator is always a variable. No matter what the type of the variable is, and no matter what is presently stored in that variable, a successful ++ operation always mutates _the variable_. &amp;nbsp;Whether the contents of the variable are mutable or immutable is irrelevant; the variable is going to change.&lt;/p&gt;
&lt;p&gt;(Well, someone could write a ++ operator which set the variable to its current value, not mutating it, but we could characterize the trivial mutation as a mutation for the sake of argument.)&lt;/p&gt;
&lt;p&gt;Hence the shirt -- i'm mutating your variables. &lt;/p&gt;
</description></item><item><title>re: Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#6792327</link><pubDate>Mon, 17 Dec 2007 23:50:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6792327</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;alright... that was deep;&lt;/p&gt;
&lt;p&gt;i now fully appreciate that shirt... as obvious to before you explained it... i didn't get it :]&lt;/p&gt;
&lt;p&gt;lol.... I must of re-read your explaination at least 4 times before getting it though; &lt;/p&gt;
&lt;p&gt;-mike&lt;/p&gt;
</description></item><item><title>re: Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#6800023</link><pubDate>Wed, 19 Dec 2007 01:23:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6800023</guid><dc:creator>Sasan Jalali</dc:creator><description>&lt;p&gt;O.K. The shirt is fun but a variable is not in the realm of Data Structures!&lt;/p&gt;
&lt;p&gt;In this context 'i++' can only mean a better 'i'mmutable Data &amp;nbsp;Structure! ( as C++ means a better C )&lt;/p&gt;
&lt;p&gt;So keep up the good work,&lt;/p&gt;
&lt;p&gt;Sasan&lt;/p&gt;
</description></item><item><title>Immutability in C#</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#7153115</link><pubDate>Sat, 19 Jan 2008 00:04:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7153115</guid><dc:creator>&lt;a href="http://weblogs.asp.net/bleroy"&gt;Tales from the Evil Empire&lt;/a&gt;</dc:creator><description>&lt;p&gt;For some reason, there's been a lot of buzz lately around immutability in C#. If you're interested in&lt;/p&gt;
</description></item><item><title>re: Immutability in C# Part Five: LOLZ!</title><link>http://blogs.msdn.com/ericlippert/archive/2007/12/13/immutability-in-c-part-five-lolz.aspx#8437562</link><pubDate>Tue, 29 Apr 2008 16:31:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8437562</guid><dc:creator>Richard</dc:creator><description>&lt;p&gt;The mark of a true geek. See a joke about a computer science concept and then dissect it to see if it's really funny.&lt;/p&gt;
</description></item></channel></rss>