Deep Fried Bytes: Functional Programming in C# with Oliver Sturm

Deep Fried Bytes

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 ill...

Running time
0h0m
File size
40.00MB

Download Original File | View original post

Episode synopsis

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 show

Thanks 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

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match” - Bill Bryson