Wednesday, May 3, 2006

Coding too much and sleeping too little is a setting I'm not too unfamiliar with. You know you should sleep a bit more and code a bit less when you have nightmares about debugging and are wondering what method of which class to call to shut off the wakeup alarm in the morning. I'm coding on a project with a few friends these days and came over some interesting code, probably caused by the setting above:

public string MyProp
   set {value = value; }

Hmm... useful property...

if (valueQueues[queueId].Count != null)
   return valueQueues[queueId].Dequeue();
   return null;

Hmmm.. Nullable types is an interesting thing, but I don't think this is the right setting to use them...

Wednesday, May 3, 2006 4:58:41 PM (W. Europe Standard Time, UTC+01:00)
Now that is a kick-ass property!
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview