How to explain the term API using real life examples?
A:
It’s like a water tap, turn it on
, water comes out; turn it off
, it stops. And you don’t need to care about how the heck the water comes to your house from the whole water system.
The tap is the API
The water system is the SDK
or third party library
———
Today, the water stopped coming from my tap... and I don’t know how to fix it.
Top comments (1)
That's a nice explanation!
There must be an StackOverflow post about it :D