Saturday, 15 October 2016

What do we want from an API: A list of six criteria

An API should be:

  • Intuitive 
  • Consistent 
  • Short (the number of functions, the length of each function name, and the length of the arguments and parameters)
  • Logical (almost the same as consistency, but not quite)
  • Unique (enough to avoid name confusion and collisions with other packages)
  • Structurally similar to other packages


What else?

Contain a limited set of arguments?

No comments:

Post a Comment