Deep Fried Bytes Episode #23: Functional Programming in C# with Oliver Sturm
Posted by Keith Elder | Posted in Podcast | Posted on 28-01-2009
Listen To This Episode
http://deepfriedbytes.com/podcast/episode-23-functional-programming-in-csharp-with-oliver-sturm/
In this episode we sat down with Oliver Sturm of Developer Express. Oliver is writing a book on Functional Programming in C# and we had to get the scoop on what he was going to put in the book. Oliver blew us away in this episode. The discussion went so deep, there is a code example that you need follow along with. Here is the code sample. It was a great show, enjoy.
1: Func<int,int,int> add = (x,y) => x + y;
2:
3: Func<int, Func<int,int>> addC2 =
4: delegate(int x) {
5: return delegate (int y) {
6: return x + y;
7: }
8: };
9:
10: Func<int, Func<int,int>> addC =
11: x => y => x + y;
12:
13: var add5 = addC(5);
14:
15: add5(37);
How To Listen To The Show
1. Directly From The Web Site (or click the link above)
When you visit the site look for this:
Clicking the triangle will launch the Yahoo! media player and automatically start playing the show for you. As long as you leave the browser window open the player will stay open. Clicking off the page WILL stop the player!
2. Subscribe via iTunes and Zune
If you have iTunes or Zune installed on your computer you can subscribe to our show. In iTunes open the Music Store and search for “Deep Fried Bytes”. In the Zune software, go to the MarketPlace select Podcast and search for “Deep Fried Bytes” to subscribe to the show. You can also click either of the two icons below to automatically subscribe to the show if you have iTunes or Zune installed.
3. Subscribe to RSS Feed
To stay current and up to date with the show, subscribe to the site’s RSS Feed. If you don’t know about RSS feeds you can read more here: http://en.wikipedia.org/wiki/RSS_(file_format)
If you already have an RSS reader installed and setup, click the feed icon below to grab our news feed.