api-design
Best way to create REST API for long lasting tasks?
Suppose I have 2 servers. The first is a service that provides some computations, which can last long time (minutes to hours).[详细]
2023-01-14 20:18 分类:问答Writing an API to communicate with a device connected on Serial port
I am afraid that several terminologies in my question are wrong. Please bear with me and correct me wherever I am wrong.[详细]
2023-01-14 08:57 分类:问答Is it good practice for a website to use its own API?
Is it good practice to develop the API while developing the site so the site itself actually uses the API? Or is there a performance hit if choosing to do this?[详细]
2023-01-14 01:04 分类:问答Using annotation to ensure that value returned by method is not discarded
String in Java is immutable. The following snippet is, broadly speaking, \"wrong\". String s = \"hello world!\";[详细]
2023-01-13 18:29 分类:问答Retrofitting void methods to return its argument to facilitate fluency: breaking change?
\"API design is like sex: make one mistake and support it for the rest of your life\" (Josh Bloch on twitter)[详细]
2023-01-13 05:30 分类:问答API design: is "fault tolerance" a good thing?
I\'ve consolidated many of the useful answers and came up with my own answer below For example, I am writing a an API Foo which needs explicit initialization and termination. (Should be language agno[详细]
2023-01-08 18:42 分类:问答Why does int num = Integer.getInteger("123") throw NullPointerException?
The following code throws NullPointerException: int num = Int开发者_运维问答eger.getInteger(\"123\");[详细]
2023-01-05 06:42 分类:问答Why does String.valueOf(null) throw a NullPointerException?
according to the documentation, the method String.valueOf(Object obj) returns: if the argument is null, then a string equal to \"null\"; otherwise, the value of obj.toString() is returned.[详细]
2023-01-05 03:31 分类:问答Platform Independent Tool for Creating API Documentation / Proposal [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not curr开发者_如何学Cently accepting answers.[详细]
2023-01-04 18:24 分类:问答Tips on designing a .NET API for future use with F#
I\'m in the process of designing a .NET API to allow developers to create RoboCup agents for the 3D simulated soccer league.[详细]
2023-01-02 19:32 分类:问答