Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Pragmateek

Pragmateek Pragmateek

Niner since 2013

  • The Future of WPF

    Glad to know there is still a significant development effort on WPF.

    And always good to see the guys behind all this stuff. :)

    This is directly going in my optimistic elements about WPF future: Is WPF dead: the present and future of WPF

  • Being Fluent, Fluid and Functional with Monads.net

    Nice stuff, thanks for sharing. Smiley

    Note that for events handlers there is a trick to avoid checking for null:

    public event EventHandler Updated = delegate{};
    
    public void Update()
    {
        Updated(this, EventArgs.Empty);
    }

    So from the start you have at least one empty delegate to execute, and a priori even a malicious code can't remove the original empty delegate so you always have one.

    You can consider this an application of the "null object" pattern.