<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://commongenius.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Variable Irony</title><subtitle type="html">A commentary on technical issues ranging far and wide.</subtitle><id>http://commongenius.com/variable_irony/atom.aspx</id><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/default.aspx" /><link rel="self" type="application/atom+xml" href="http://commongenius.com/variable_irony/atom.aspx" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2006-12-09T15:57:00Z</updated><entry><title>Magic Booleans</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2008/08/11/magic-booleans.aspx" /><id>http://commongenius.com/variable_irony/archive/2008/08/11/magic-booleans.aspx</id><published>2008-08-11T14:55:00Z</published><updated>2008-08-11T14:55:00Z</updated><content type="html">Hopefully somewhere in your programming career you reached a point where you could recognize the following as a Bad Idea: Foo.Bar(42) What does 42 represent? Why are we passing it into the Bar method? Why not 41 or 43 instead? Presumably 42 has some particular meaning in the context of the method call, but it is not obvious from the usage what that meaning is. Numeric constants which are used directly in expressions like this are called Magic Numbers , and most of us are taught to recognize them...(&lt;a href="http://commongenius.com/variable_irony/archive/2008/08/11/magic-booleans.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author></entry><entry><title>Dynamic Typing and a Tale of Two Interviews</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2008/04/28/dynamic-typing-and-a-tale-of-two-interviews.aspx" /><id>http://commongenius.com/variable_irony/archive/2008/04/28/dynamic-typing-and-a-tale-of-two-interviews.aspx</id><published>2008-04-28T18:08:00Z</published><updated>2008-04-28T18:08:00Z</updated><content type="html">A manager needed to hire a new employee, so he posted an ad on a job search website. He soon had a flood of responses. The manager carefully examined the resume of each applicant, looking for specific skills that he knew the job required. Not surprisingly, most of the respondents didn't fit the bill. The manager selected a few that seemed like they might have the right qualifications, and brought them in for an interview. He gave each of them a set of tests to complete that would exercise the skills...(&lt;a href="http://commongenius.com/variable_irony/archive/2008/04/28/dynamic-typing-and-a-tale-of-two-interviews.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author><category term="dynamic_typing" scheme="http://commongenius.com/variable_irony/archive/tags/dynamic_5F00_typing/default.aspx" /></entry><entry><title>Why I Hate Marketing</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2008/04/28/why-i-hate-marketing.aspx" /><id>http://commongenius.com/variable_irony/archive/2008/04/28/why-i-hate-marketing.aspx</id><published>2008-04-28T10:07:00Z</published><updated>2008-04-28T10:07:00Z</updated><content type="html">When I complained on Scott Hanselman's blog (on something of a tangent I admit) that the versioning of the .NET Framework was nonsensical, he asked me how I would have done it. I think he was subtly trying to point out to me that its not as easy as it looks. But I already knew that. Obviously trying to come up with a system for describing a platform of technologies and tools in a way that makes sense to techies and non-techies alike is a challenge. But the way it has been done so far doesn't seem...(&lt;a href="http://commongenius.com/variable_irony/archive/2008/04/28/why-i-hate-marketing.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author><category term=".NET" scheme="http://commongenius.com/variable_irony/archive/tags/.NET/default.aspx" /></entry><entry><title>WPF Attached Dependency Properties and Roles</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2008/03/11/wpf-attached-dependency-properties-and-roles.aspx" /><id>http://commongenius.com/variable_irony/archive/2008/03/11/wpf-attached-dependency-properties-and-roles.aspx</id><published>2008-03-10T20:28:00Z</published><updated>2008-03-10T20:28:00Z</updated><content type="html">Attached Dependency Properties in WPF are a replacement for extender providers in WinForms, but they may also have other interesting applications....(&lt;a href="http://commongenius.com/variable_irony/archive/2008/03/11/wpf-attached-dependency-properties-and-roles.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author></entry><entry><title>LINQ and Duck Typing</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2008/03/07/linq-and-duck-typing.aspx" /><id>http://commongenius.com/variable_irony/archive/2008/03/07/linq-and-duck-typing.aspx</id><published>2008-03-07T08:17:00Z</published><updated>2008-03-07T08:17:00Z</updated><content type="html">C# 3.0 saw the increasing use of duck typing, most prominently in LINQ....(&lt;a href="http://commongenius.com/variable_irony/archive/2008/03/07/linq-and-duck-typing.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author><category term="C# duck_typing LINQ" scheme="http://commongenius.com/variable_irony/archive/tags/C_2300_+duck_5F00_typing+LINQ/default.aspx" /></entry><entry><title>Programming and Chess</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2008/02/22/programming-and-chess.aspx" /><id>http://commongenius.com/variable_irony/archive/2008/02/22/programming-and-chess.aspx</id><published>2008-02-21T22:01:00Z</published><updated>2008-02-21T22:01:00Z</updated><content type="html">I got into programming and chess for the same reason: the excitement. But sometimes doing things "the right way" takes all of the fun out of it....(&lt;a href="http://commongenius.com/variable_irony/archive/2008/02/22/programming-and-chess.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author></entry><entry><title>C# vs VB.NET</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2007/11/09/c-vs-vb-net.aspx" /><id>http://commongenius.com/variable_irony/archive/2007/11/09/c-vs-vb-net.aspx</id><published>2007-11-08T23:53:00Z</published><updated>2007-11-08T23:53:00Z</updated><content type="html">If you are bilingual, or if you spend any time at all in the .NET blogosphere, you have undoubtedly witnessed many of the posts/discussions/arguments/wars over which language is better, C# or VB.NET. These skirmishes range from mild to violent, and are often filled with statements like "All VB.NET users are amateurs" or "All C# users are arrogant elitists." Much of the debate is filled with FUD, and at times it seems to border on a religious war. Let me state right here that I have used both languages...(&lt;a href="http://commongenius.com/variable_irony/archive/2007/11/09/c-vs-vb-net.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author></entry><entry><title>C# Language Design Decisions Explained</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2007/11/02/c_2D00_sharp-language-design-decisions-explained.aspx" /><id>http://commongenius.com/variable_irony/archive/2007/11/02/c_2D00_sharp-language-design-decisions-explained.aspx</id><published>2007-11-01T20:22:00Z</published><updated>2007-11-01T20:22:00Z</updated><content type="html">"Ask A Language Designer" on MSDN explains design decisions made by the C# language team....(&lt;a href="http://commongenius.com/variable_irony/archive/2007/11/02/c_2D00_sharp-language-design-decisions-explained.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author><category term="C#" scheme="http://commongenius.com/variable_irony/archive/tags/C_2300_/default.aspx" /></entry><entry><title>Hungarian Notation - The Good, the Bad, and the Ugly</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2007/01/11/hungarian-notation-the-good-the-bad-and-the-ugly.aspx" /><id>http://commongenius.com/variable_irony/archive/2007/01/11/hungarian-notation-the-good-the-bad-and-the-ugly.aspx</id><published>2007-01-11T10:06:00Z</published><updated>2007-01-11T10:06:00Z</updated><content type="html">An article about Hungarian notation and a summary of my opinions on the issue....(&lt;a href="http://commongenius.com/variable_irony/archive/2007/01/11/hungarian-notation-the-good-the-bad-and-the-ugly.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author></entry><entry><title>DataSet/DataTable serialization bug with modified row and newline string value</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2006/12/22/dataset-datatable-serialization-bug-with-modified-row-and-newline-string-value.aspx" /><id>http://commongenius.com/variable_irony/archive/2006/12/22/dataset-datatable-serialization-bug-with-modified-row-and-newline-string-value.aspx</id><published>2006-12-21T23:05:00Z</published><updated>2006-12-21T23:05:00Z</updated><content type="html">Recently I ran across an unusual bug in the .NET framework. Our application uses .NET remoting with DataSets, using RemotingFormat = SerializationFormat.Xml (the default in .NET 2.0, and the only option in .NET 1.1). We were getting a DBConcurrencyException when trying to save data that was being passed from the client to the server, even though we knew for certain that the data in the database had not changed. After some investigation we discovered that the problem was related to a field in a modified...(&lt;a href="http://commongenius.com/variable_irony/archive/2006/12/22/dataset-datatable-serialization-bug-with-modified-row-and-newline-string-value.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author></entry><entry><title>&quot;Project location is not trusted&quot;, on a local drive</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2006/12/18/project-location-is-not-trusted-on-a-local-drive.aspx" /><id>http://commongenius.com/variable_irony/archive/2006/12/18/project-location-is-not-trusted-on-a-local-drive.aspx</id><published>2006-12-18T12:26:00Z</published><updated>2006-12-18T12:26:00Z</updated><content type="html">Dealing with the "project location is not trusted" warning in Visual Studio, when the project in question is on a local drive....(&lt;a href="http://commongenius.com/variable_irony/archive/2006/12/18/project-location-is-not-trusted-on-a-local-drive.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author></entry><entry><title>catch(Exception)</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2006/12/16/catch-exception.aspx" /><id>http://commongenius.com/variable_irony/archive/2006/12/16/catch-exception.aspx</id><published>2006-12-16T03:03:00Z</published><updated>2006-12-16T03:03:00Z</updated><content type="html">Posts from the FxCop blog about catching general exception types generated a lot of controversy. I've posted about a particular comment which I think demonstrates a misunderstanding of what static code analysis "rules" are all about....(&lt;a href="http://commongenius.com/variable_irony/archive/2006/12/16/catch-exception.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author></entry><entry><title>Collection Initializers and Duck Typing</title><link rel="alternate" type="text/html" href="http://commongenius.com/variable_irony/archive/2006/12/09/Collection-Initializers-and-Duck-Typing.aspx" /><id>http://commongenius.com/variable_irony/archive/2006/12/09/Collection-Initializers-and-Duck-Typing.aspx</id><published>2006-12-09T12:57:00Z</published><updated>2006-12-09T12:57:00Z</updated><content type="html">C# 3.0 will include a new language feature called collection initializers. But are the language designers going too far to make the feature usable by previously built classes?...(&lt;a href="http://commongenius.com/variable_irony/archive/2006/12/09/Collection-Initializers-and-Duck-Typing.aspx"&gt;read more&lt;/a&gt;)</content><author><name>dnelson</name><uri>http://commongenius.com/members/dnelson.aspx</uri></author></entry></feed>