API development guidelines

I am developing an internal API for the system I am writing. What are some of the best API Design best practices to consider?

+3
source share
3 answers

The examples are in Java, but the hints apply to any language.

How to create a good API and why it matters

+3
source

Test development.

TDD will communicate your design because it invites you to ask questions such as “what do I need for this,” and it will make it easier for you to refactor with confidence when you move on to your changes. He also encourages making things as simple as possible, which is always good.

+2
source

, API - .

  • - ,
  • ,
+2

Source: https://habr.com/ru/post/1769888/


All Articles