Hi,
I am designing an internal API for a system I am writing. What are some best practises in API Design to think about?
Thanks
Hi,
I am designing an internal API for a system I am writing. What are some best practises in API Design to think about?
Thanks
Test Driven Development.
TDD will inform your design because it prompts you to ask questions like 'what do I need this to do' and it makes it easier for you to refactor with confidence, as you go thru your revisions. It also encourages making things as simple as possible, which is always a good thing.
Just remember that an API is a user interface. I try to focus on
The examples are in Java but the hints apply to any language.