|
|
|
|
|
by jordwest
3367 days ago
|
|
I would say there should always be a contract between the sender and receiver, whether that's using static types or otherwise. Not having a contract is a nightmare. For example, say a satellite sends a number to the throttle control in feet/second, but the throttle control thinks its in m/s. To each of those systems, they're just passing a number and don't know any better. |
|
WSDL based APIs on the other hand have clearly defined contracts at both ends but there's more overhead involved.