Links
-
Recent Posts
Tags
Agentek Agent Smith Agile Android Architecture ARM AutoMapper BDD Bob Martin books C++/CLI CE CF Code Compact Framework craftsmanship database DDD Dependency Inversion Entity Framework Entity Spaces extension method Good to Great Grady Booch Hanselminutes Hiring Interface Segregation interop Jim Collins jobs Kanban LINQ Liskov Substitution LLBLGen Managed C++ Mobile OO pair programming scrum software solid TDD teams VersionOne windows mobileCategories
Archives
Meta
Tag Archives: Code
Lightweight Context/Specification BDD in C#
Behavior-Driven Development (BDD) provides all of the engineering benefits of traditional Test-Driven Development (TDD) while additionally resulting in a specification that non-developers can read and validate. At its heart, BDD transforms the tests of TDD into specifications. Those specifications are … Continue reading
A Nifty Extension Method for Mapping Property Values by Name
Here is a nice little C# extension method that allows you to copy all of the properties from one object to another where the names match. SetPropertiesByName(this object target, object source) { PropertyInfo[] sourceProperties = source.GetType().GetProperties(); PropertyInfo[] targetProperties = target.GetType().GetProperties(); … Continue reading
Spell-Checking for ReSharper
Your code will be written once. It will be read (by you and others) many times. Code should be easy to read. This means that I should be able to scan a screen full of code and get a sense … Continue reading