Monday, 8 May 2006

I need more syntactic sugar

I am really excited about extension methods and once C# 3.0 is released I’m going to extend every collection class with IsEmpty, IsNotEmpty functions. They should look like that:


public static bool IsEmpty(this ArrayList list)
{
return list.Count == 0;
}

public static bool IsNotEmpty(this ArrayList list)
{
return list.Count > 0;
}


I know that it’s not big deal but I would rather write: if (list.IsEmpty()) then if (list.Count == 0). The first one is just much more readable.

Monday, 24 April 2006

NDepend tells you about your design quality.

Quite useful free tool. It can analyze your assemblies and suggest what is potentially dangerous. I am not big fun of all included visualisations but I really appreciate generated html report. It’s worth giving a try: NDepend.

Monday, 17 April 2006

Developer is an asset

More verbose and therefore really valuable version of my short post ;-). I completely agree with Joel . No doubts.

Sunday, 26 March 2006

The freedom of experimentation is crucial

If a software engineer has to struggle against lots of tedious work incorporating every single change then very often he simply abandons it and doesn’t change anything. In other words he would rather leave some poor solution that more or less works then replace it with something really valuable. His creativity is simply limited by the amount of additional effort that every change requires. Above problems can be caused by lack of proper tools, messy and unmaintainable code or even so trivial thing as slow workstation. There are people that don’t perceive it as a real problem but in my humble opinion they are wrong :).

Tuesday, 21 March 2006

Trying to understand lawyers...

I couldn’t be a lawyer but after watching this videoI’ve broadened my horizons :) and at least I can understand some of their decisions or to be precise why they have to be so calculating.

Monday, 27 February 2006

Do you need a tool that supports Contrac First approach - try WSCF 0.6!!!

Great guys from Thinktecture just released WSCF 0.6 for Visual Studio 2005 and .NET 2.0. I’ve been using it for a while and it saves lots of tedious, manual work. Give a try and you won’t regret!