Farewell Visitor 01 December 2010 Kris-Vandermotten .NET The Visitor design pattern was first documented in 1995 by the Gang of Four. It’s a workaround for the fact that most strongly typed object oriented languages only support single dispatch, even when sometimes double dispatch is required. With C# 4, we no longer need this workaround. We now have some... [More]
Static Reflection in .NET, part 2 18 October 2009 Kris-Vandermotten .NET A few weeks ago, I talked about static reflection and its advantages. You’ll remember that the main advantages, compared to the normal reflection API’s, are the compile time checking of parameters and IntelliSense support. How does it compare at other levels, performance for example? Before we dive... [More]
Static Reflection in .NET 29 June 2009 Kris-Vandermotten .NET LINQ expressions have proven to be extremely versatile, popping up in all sorts of areas. “Static Reflection” seem to be the latest hype. But what is static reflection anyway, and why is it good or why is it bad? Reflection is used to obtain information about the code you are executing, and to use ... [More]
Lightweight Code Generation with Linq Expressions 16 November 2007 Kris-Vandermotten LINQ Lightweight Code Generation with Linq Expressions [More]