Scott Hanselman

Hanselminutes Podcast 96 - Starting Small with F# with Dustin Campbell

January 14, '08 Comments [4] Posted in ASP.NET | Learning .NET | Microsoft | Podcast | Programming
Sponsored By

My ninety-sixth podcast is up. This episode was recorded at CodeMash in Ohio last week. Dustin Campbell is a lead developer at DevExpress working on CodeRush and "Refactor!" He's also a gifted teacher and gave a great session on F# at CodeMash so I know I wanted to get him on the show. He's only been working with F# for less than a six months, but his grasp of the historical context that F# should be placed in and knack for explaining it made his a great talk.

In the vein of becoming a better programmer by reading more code, Dustin suggests that we improve our C# by borrowing concepts from F#. Be sure to check out his blog and his list of resources on F#.

Subscribe: Subscribe to Hanselminutes Subscribe to my Podcast in iTunes

If you have trouble downloading, or your download is slow, do try the torrent with µtorrent or another BitTorrent Downloader.

Do also remember the complete archives are always up and they have PDF Transcripts, a little known feature that show up a few weeks after each show.

Telerik is our sponsor for this show.

Check out their UI Suite of controls for ASP.NET. It's very hardcore stuff. One of the things I appreciate about Telerik is their commitment to completeness. For example, they have a page about their Right-to-Left support while some vendors have zero support, or don't bother testing. They also are committed to XHTML compliance and publish their roadmap. It's nice when your controls vendor is very transparent.

As I've said before this show comes to you with the audio expertise and stewardship of Carl Franklin. The name comes from Travis Illig, but the goal of the show is simple. Avoid wasting the listener's time. (and make the commute less boring)

Enjoy. Who knows what'll happen in the next show?

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Monday, January 14, 2008 9:31:49 PM UTC
I thought of this during the show when you guys were talking about Linked Lists...but I'd love to hear you talk/blog about this library:

http://channel9.msdn.com/Showpost.aspx?postid=370368

http://www.itu.dk/research/c5/

Just a thought.
INeedADip
Monday, January 14, 2008 11:57:04 PM UTC
> Dustin suggests that we improve our C# by borrowing concepts from F#

I'm not sure I'll be terribly confident going too crazy-functional with C# until the compiler supports tail recursion optimization. From what I've read, this is currently supported only by the .NET JITter, and only in the scenario that you are running on, and compiled targeting, a 64-bit architecture.
Thursday, January 17, 2008 10:34:42 AM UTC
Hi Scott and thank you for a wonderful show.

Haskell does have support for mutable variables in the libraries, but not in the language. There are IORef (mutable variable in the IO monad) and TVar (mutable variable in the STM monad). TVars are synchronized whereas IORefs are not.

It is also possible to program in an imperative style in Haskell, using the do-notation for monads. Though, programming in Haskell using only TVars or IORefs and this imperative style is not recommended ("the toilet bowl with the water, pull..." in French), so I do believe that Dustin's opinion that F# is more flexible than Haskell is correct, also because Haskell is a pure functional language.
Gustaf Nilsson Kotte
Thursday, January 17, 2008 7:03:51 PM UTC
Gustaf - Great information, thanks for sharing it!
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.