10 Feb '06 - + 22 - 35 TrollTech on API Design

I came across this piece on how to design an API that’s essentially written from a user-centered perspective. It discusses how TrollTech (who make the Qt cross-platform framework) have evolved their API interface to improve comprehension and reliability for their users: other developers.

The ideas and examples here aren’t just applicable to commercial API designers. Every codebase is essentially an API that someone is going to have to learn (or, if you’re returning to your own code, relearn). The ideas strike me as being a level above quibbling about things like the merits of Hungarian Notation, and more in the pragmatic programming realm.

No comments yet:

Remember personal info?

Comment: /
Comment spam is an unfortunate problem on our site. Making you answer an Obvious Question is one way to defeat the spambots.
Obvious Question: How many states are in the United States (50)?

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.