What are the best practices for the Middleware API?

We develop middleware SDKs, both in C ++ and Java, that will be used as a library / DLL, for example, game developers, animation software developers, avatar developers to improve their products.

What I would like to know is: Are there standard β€œbest practices” for developing these types of APIs?

I think in terms of usability, readability, efficiency, etc.

+3
source share
5 answers

Windows :

DLL, . . visual ++ , , .

++, . ++ , , , ++, Windows. C, , dll.

++ (, ), ++, , c-. , .

c/++ Java, , c-, ++ - .

"Imperfect ++" , .

+2

, yrp, - .

:

  • API , .
  • DO , API.
  • DO , API.
  • - .
  • singleton , , .
  • javadoc, .
+1

apis, , . , , . , Java, -, Effective Java 2nd Edition. - , . Java Java, , .

0

. , .NET, , , .

0

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


All Articles