Hacker News new | past | comments | ask | show | jobs | submit login

I highly recommend the following talk by Joshua Bloch: "How to design a good API and why it mattes" [1].

Key points:

- When in doubt, leave it out - you can never remove things from an API but always add to it.

- Write several clients of the API to get a good feel how its used. Three is usually enough, one is not.

[1] https://www.youtube.com/watch?v=aAb7hSCtvGw




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

Search: