Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

CQRS: Multiple entry points for a single command

You need to untangle this and separate the steps more than you currently are. In order to make this make sense, let me pick at the threads: I’m facing the problem that each request has it’s own ...
Flater's user avatar
  • 51.8k
0 votes

"Public APIs are forever: Only one chance to get it right"?

Changing a widely used API is a pain. You need a very good reason. Many languages allow you to mark things as “deprecated”. So the first step is to provide a better API, mark the old one as deprecated,...
gnasher729's user avatar
  • 45.7k
0 votes

"Public APIs are forever: Only one chance to get it right"?

It is true to in the sense that if you don't want to cause working software to stop working, then you should keep public API's around forever. You can introduce new API's, but you can't remove older ...
JacquesB's user avatar
  • 59.7k
0 votes

"Public APIs are forever: Only one chance to get it right"?

Breaking changes must be avoided at all cost, except if there is a VERY good reason for it. Every time you introduce a breaking change it will exponentially ripple to all dependent software. Much of ...
Alberto Salvia Novella's user avatar
1 vote

Who should build the RESTful client between two applications which both offer APIs?

In general, it's easier to pull data than to push it. If something goes wrong when pushing data, the side doing the pushing won't always know that the push wasn't successful. For example, if there's ...
JimmyJames's user avatar
  • 27.5k
0 votes

Who should build the RESTful client between two applications which both offer APIs?

All else being equal, it seems like it would be technically better for application A to push the data to B because it'll be more timely and avoid a polling interface.
John Bickers's user avatar
2 votes

Who should build the RESTful client between two applications which both offer APIs?

Each application should publish its own client* If you test your api, you need a client to connect to it for the test. So you have a client right there, publish it. If the calling code writes a client,...
Ewan's user avatar
  • 76.4k
0 votes

Multiple API calls potentially spawning multiple Websockets - Threading vs Async

Independent of anything else, you should try to find out how to cancel a network call, once it looks like you dont need or cant use the result anymore. Usually the situation is: Your computer takes ...
gnasher729's user avatar
  • 45.7k

Top 50 recent answers are included