News for hackers. Stuff that matters.
Re:Are we doing MVC wrong? by joebo on Sunday October 20, 2013 @10:39AM (#6580019)
> Features return a glorified tuple (Feature<TOutcome,TResult>) that combines an enum value that represents what the outcome was, with a value that represents the result of the operation.

Sounds similar to my understanding of what a monad is. If you have many cases of this, it might simplify the switch statement and improve maintainability.

http://devtalk.net/csharp/chained-null-checks-and-the-maybe-...

http://stackoverflow.com/questions/674855/help-a-c-sharp-dev...

There are no comments on this comment yet.