Monthly Archives: February 2011

Versioning strategies for the sane

I don’t know why I didn’t think of this one earlier, it makes so much sense.  A coworker of mine shared a fantastic assembly versioning strategy that eliminates all of the decisions about major/minor version numbers we have to make … Continue reading 

Posted in C# | 18 Comments

Agile: 10 years later

One of the interesting pieces of Mike Cohn’s post on the 10 year anniversary of the Agile manifesto was a comparison of the arguments in the previous decade around OOP: The next change I’d like to see (and predict will … Continue reading 

Posted in Agile | 1 Comment

Prototyping with anonymous classes

In the last post, I presented a rather strange bit of code: public static class ExpressionExtensions { public static Expression<Func<T, TResult>> Expr<T, TResult>( this T item, Expression<Func<T, TResult>> expr) { return expr; } } It looks like a rather pointless … Continue reading 

Posted in C# | 1 Comment

Trivia Friday

Everybody loves a cliffhanger, right?  I found myself needing to write the following code the other day: public static class ExpressionExtensions { public static Expression<Func<T, TResult>> Expr<T, TResult>( this T item, Expression<Func<T, TResult>> expr) { return expr; } } Why … Continue reading 

Posted in C# | 12 Comments

Attack of the pseudo-frames

AKA, folks are getting a little too clever in AJAX-land.  There was a joke going around when “new twitter” launched that “old twitter” is what Steve Jobs would have designed if his engineers started with “new twitter”.  Looking at any … Continue reading 

Posted in Rant | 4 Comments

Autoprojecting LINQ queries

Something I’ve been looking at adding to AutoMapper was the idea of doing automatic query projection in the Select query projection in LINQ statements.  One downside of AutoMapper is that projection from domain objects still forces the entire domain object … Continue reading 

Posted in AutoMapper, C#, LINQ | 28 Comments

Three simple Mercurial rules

The following is highly opinionated, but it matches most closely to what typical Git workflows are.  The nice thing about Hg is that its tools can hide the complexity of working with distributed version control systems (DVCS).  That’s also a … Continue reading 

Posted in Mercurial | 5 Comments