I often have to design client APIs for use by other programmers. The language can vary from Ruby, Java, Erlang and Javascript (Mootools). Does anyone have any tips on creating a very usable API. And yes, this “is” a very subjective question and I am asking so that I can make my APIs easier to use by others.
Share
I strongly recommend to follow Joshua Bloch‘s advice: Joshua Bloch – How to Design a Good API and Why it Matters. It’s available in PDF and Video.