API 设计准则设计模式的六大原则中间件:Redis


API 设计准则

An API is to the programmer what a GUI is to the end-user. The 'P' in API stands for "Programmer", not "Program", to highlight the fact that APIs are used by programmers, who are humans.

We believe APIs should be minimal and complete, have clear and simple semantics, be intuitive, be easy to memorize, and lead to readable code.

设计模式的六大原则

中间件:Redis

图片