Scott Hanselman

Hanselminutes Podcast 260 - .NET API design that optimizes for Programmer Joy with Jonathan Carter

April 7, '11 Comments [4] Posted in Learning .NET | Podcast
Sponsored By

Conery, Hanselman and HappinessScott sits down with Jonathan Carter to  brainstorm about optimizing APIs for programmer happiness, rather than programmer productivity.

Download: MP3 Full Show

Links:

NOTE: If you want to download our complete archives as a feed - that's all 260 shows, subscribe to the Complete MP3 Feed here.

Also, please do take a moment and review the show on iTunes.

Subscribe: Subscribe to Hanselminutes or Subscribe to my Podcast in iTunes or Zune

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.

Building quality software is never easy. It requires skills and imagination. We cannot promise to improve your skills, but when it comes to User Interface and developer tools, we can provide the building blocks to take your application a step closer to your imagination. Explore the leading UI suites for ASP.NET AJAX,MVC,Silverlight, Windows Forms and WPF. Enjoy developer tools like .NET Reporting,ORM,Automated Testing Tools, Agile Project Management Tools, and Content Management Solution. And now you can increase your productivity with JustCode, Telerik’s new productivity tool for code analysis and refactoring. Visitwww.telerik.com.

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. I am 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
Thursday, April 07, 2011 1:00:27 PM UTC
When it comes to the subject of writing an API and using a "fluent" (i.e. method chaining) style, I agree with Jonathan that it's best to include a more standard API that developers are used to and to allow the developer to transition into a fluent API if they want.

I did this in my Args library (available via NuGet). You can either make standard method calls one line at a time or you can call an extension method named "AsFluent()" which returns a class that allows for the same method calls/configuration, but does so in a fluent fashion so that you can do all your configuration in a "single line of code".
Friday, April 08, 2011 10:40:48 PM UTC
Scott,

How much taller are you than Rob Connery?
Andy
Saturday, April 09, 2011 3:34:23 AM UTC
I am -5 inches taller than Rob Conery.
Scott Hanselman
Saturday, April 09, 2011 3:38:46 AM UTC
If this picture was taken just 30 seconds prior you would have seen Scott do a full Jiu-Jitsu takedown on yours truly. Using only his Diet Coke and that lovely goatee.

The weird look on my face? Yah that's pain. I think I'm one knee... and I'm fairly certain I threw up after that.

Never tell Scott that Portland doesn't "do real tacos".
Rob Conery
Comments are closed.

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