Obviously, this [shipping high quality samples] is what we should be striving for, but what do we do in the meantime? Stop shipping samples? I hope not.
Again, I don’t claim to have the answers, but I think there are a few things that could help. One twitter response made a great point:
a reference app is going to be grilled. Even more if it comes from the mothership. Get the community involved *before* it gets pub
Getting the community involved is a great means of having your code reviewed to make sure you’re not doing anything obviously stupid. Of course, even in this, there’s a challenge. Jeremy Miller made this great point recently:
We don't have our own story straight yet. We're still advancing our craft. By no means have we reached some sort of omega point in our own development efforts.
In other words, even with community involvement, you’re probably going to piss someone off.
I feel that Jeremy’s point has been pulled out of context. While we may have disagreements about what constitute the future directions in software development, that isn’t actually what cause the community to reject the bad samples from Microsoft.
No one said a word about Kobe because it didn’t use NHibernate, or wasn’t built with messaging or using DDD.
What we reject in those sample app is that they are, put simply, bad coding. There is nothing amorphous about this, we aren’t talking about subjective feeling, we are talking about very concrete, objective and real metrics that we can apply.
Not some omega point.
Not lack of understanding of the platform because the developers writing that were new to ASP.Net MVC.
That would have been bad code if it was written 5 years ago or 15 years ago.
That is the problem.
And I think that there is quite a simple answer for that. Stop shipping official guidance package without involvement from the community.
Create a special CodePlex project where you are being explicit about putting things for review, not for publishing. After the guidance has been published, it is probably too late already.
Get some feedback from the community, then you can publish this in the usual places.