Telerik JustCode

Telerik JustCode is a Visual Studio extension that helps with code navigation, error checking, test runs and more. It’s still Visual Studio, but with slight improvements all over that makes the everyday coding easier. While many coders claim they can’t live without certain productivity or refactoring tools I’ve never been one of those. I’ve never… Continue reading Telerik JustCode

Naming by Purpose or by Effect

What’s the best way to name a css class: form-field-label or bold-text? Is there any difference between MVC’s EditorFor and TextBoxFor? Or between a DetailedRowText property and ArticleDescription? For all the cases, there is a difference. The first one is naming by purpose and the other naming by effect, or what it actually does. Even… Continue reading Naming by Purpose or by Effect

Merging Expression Trees to Reuse in Linq Queries

Reusing parts of LINQ queries is easily done by chaining methods returning IQueryable. Unfortunately that doesn’t cover some senarios like reusing member initialization lists. To handle such a situation I wrote a Merge extension method for select expressions. For this post we’ll load the data required for a list of cars and a detail view… Continue reading Merging Expression Trees to Reuse in Linq Queries