Pepsi broke the contract

in api •  2 years ago  (edited)

bruno-kelzer-rbLJ0EPyjAM-unsplash.jpg
Check out Bruno Kelzer on https://unsplash.com/@bruno_kelzer

An API is a contract with the world, and that makes it one of the hardest things to get right in software design.

Some APIs change because the world evolves, some because they are fundamentally broken from the start; looking at you Thread.stop!

What makes API design hard is that it must endure time. As soon as the contract is out there, you can't just take it back without a world of pain. Stadia is a perfectly good example of lost trust.

What's with a recipe?

Both Coca-Cola and Pepsi have iterated their formulas over the years. It's a known fact that one of the major ingredients in Coke is now missing; coca-leave (cocaine) and cola-nut (caffeine) gave Coca-Cola its name.

Read the rest here:
https://wasteofserver.com/pepsi-broke-the-contract/

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!