Developers Are Users Too

I'm currently whipping up a mini-API for the BetaBrite-specific subset of the Alpha Sign Communications Protocol. Naturally, I want it to be easy to use and understandable for other developers-- a classic usability problem. How do you approach usability when your audience is other developers?

This is a companion discussion topic for the original blog entry at:

if something is hard to document, it can often mean that it was poorly designed

Makes sense to me. Luckily, most of .NET is a pleasure to work with-- the things I expect to be there, are just ‘there’, and it’s quite consistent.

The one area of .NET that has been a real disappointment to me is ASP.NET. I really struggle with the whole “let’s pretend the web is a windows forms environment” model. It really doesn’t map well-- and the model breaks down all over the place. I think that’s why you see prominent developers abandoning the forms model entirely:

I don’t have an answer, but that’s the area of the framework where I’ve struggled the most. I see the merit of the concept, and I agree that we need something better-- but I am not sure the webforms model really works.

As regards your last point, it’s been observed in UE/UA circles that if something is hard to document, it can often mean that it was poorly designed. Assuming competent writers and such, of course. A bad design that doesn’t map to user’s requirements or expectations requires hard-to-write documentation that people don’t want to read anyway.

I’m really hoping ASP.NET 2.0 is a big improvement, because I sure don’t want to go back to embedding a bunch of % % tags in HTML, ala classic ASP or PHP…

Some other resources on API usability:

I completely agree with you regarding ASP.NET. I have come from a primarily forms and console-based application experience and am trying my hand at web development. Using ASP.NET is not intuitive at all with all of the analogies that are obvious from the form development in VS.NET. Events don’t fire like you think they would is my main complaint(although I know why now).