Being Fluent, Fluid and Functional with

Sign in to queue

The Discussion

  • User profile image

    This looks great, does it support .net 4.5 ?

  • User profile image

    Quote: " isn't required or even endorsed for working more functional goodness into your C# code, but it's a great tool to start learning and sparking ideas with."

    Wait, what? How is it not endorsed?


  • User profile image

    Great, so it's the keywords flipped on the 90 degree bias to be fluent. Also grammar.

  • User profile image

    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.

Add Your 2 Cents