During PDC 2008, Oliver Sturm joined Keith and Woody to talk about his new book Functional Programming in C# (due in 2009) and discussed how all C# developers have the power of functional programming at their fingertips today. The discussion went so deep there is a code example in the post to illustrate the concepts Oliver discussed.
Listen to the showThanks to our guest this episode
Code from the interview
Func<int,int,int> add = (x,y) => x + y; Func<int, Func<int,int>> addC2 = delegate(int x) { return delegate (int y) { return x + y; } }; Func<int, Func<int,int>> addC = x => y => x + y; var add5 = addC(5); add5(37);
Show Notes DX Helmet video CodeRush Xpress for Visual Studio
Comments