HN2new | past | comments | ask | show | jobs | submitlogin

If nothing else, this article shows how extraordinarily difficult it is to make a good api and also how hard it is to decide what a good api is.

For example, his scheme involves making it extremely hard to do a lot when your program could do something wrong - if your code could take back a move at the opening, you can't even compile it. This might be very good but it might very bad, depending on the complexity of undos.

Personally, I'm still working on determining what a good API is. I like the QT guidelines on the subject - they feel more down to earth than a lot of comments.

http://qt.gitorious.org/qt/pages/ApiDesignPrinciples



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: