-
Archives
- May 2013
- February 2013
- October 2012
- August 2012
- June 2012
- May 2012
- March 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- March 2011
- February 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
Monthly Archives: May 2011
On partitionning .NET code
A few months ago I published two articles on SimpleTalk on how to partition .NET code, first with assemblies, second with namespaces inside assemblies. I repackaged this content in two white books available in the NDepend documentation. Partitioning .NET code … Continue reading
Posted in Uncategorized
17 Comments
Book review : C# in Depth Second Edition
Exactly 3 years ago I praised C# in Depth First Edition authored by Jon Skeet. Today, after several months owning and reading the second edition, I am even more enthusiast about this book! If you know Jon’s blog, you certainly … Continue reading
Posted in Uncategorized
4 Comments
Workaround for: Cannot assign lambda expression to a range variable
I stumbled recently on a LINQ limitation. This piece of code cannot compile (even R# doesn’t detect any error) : using System; using System.Linq; class Program { static void Main(string[] args) { var query = from i in new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } let fct = (int x) => (x - 5) * (x - 5) where fct(i) > fct(i - 1) select i; foreach (var i in query) { Console.WriteLine(i); } } } The C# compiler error, provoked by fct, is actually … Continue reading
Posted in Uncategorized
10 Comments
Back to basics: Usage of static members
Using the static keyword should be considered as an unnatural design act in a OOP world. The problem is that developers get punished for using static fields and methods, months or years after having creating them. And indeed, reasons why … Continue reading
Posted in Uncategorized
15 Comments