The next thing that absorbed my attention was his list of features that a good team should be characterized by:
- trust
- diversity
- no single man show
- shared responsibility
- passion
I remember that not so long ago everyone was saying that a line of code should not be longer then 80 characters. The problem with this approach is that it leads you to cryptic method/class/variable names because of the 80 characters hard limit. I could justify that rule back in the epoch of 15 inch CRT monitors because there are not too many things more annoying then constant scrolling from right to left and left to right to be able to read a piece of code. But even nowadays there are people who would stick with that rule which doesn't make sense for me because it's just a waste of space of your 17/19/20 or 24 inch LCD monitor. 24 inch is a really great one and 2 of them are just brilliant :).
Great news. Joel Spolsky will (more then likely) come to Dublin to promote FogBugz. I don't use FogBugz personally but I've been following Joel's blog for more then one year and I can always learn something from him. It's not about the technology itself. It's rather about how the technology is related to our real life and how we can take advantage of it :).
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
class Program
{
static void Main(string[] args)
{
FakeEnumerableClass enumerable = new FakeEnumerableClass();
foreach (object o in enumerable)
{
//works perfectly fine :)
}
}
}
class FakeEnumerableClass
{
public FakeEnumerator GetEnumerator()
{
return new FakeEnumerator();
}
}
public class FakeEnumerator
{
public bool MoveNext()
{
return false;
}
public object Current
{
get
{
return null;
}
}
}
class RealEnumberableClass : IEnumerable
{
public IEnumerator GetEnumerator()
{
throw new Exception("The method or operation is not implemented.");
}
}