←back to thread

428 points ahamez | 1 comments | | HN request time: 0.199s | source
Show context
zahlman ◴[] No.45008539[source]
Anyone else old enough to remember when "API" also meant something that had nothing to do with sending and receiving JSON over HTTP? In some cases, you could even make something that your users would install locally, and use without needing an Internet connection.
replies(8): >>45008634 #>>45008640 #>>45008724 #>>45008781 #>>45008898 #>>45008932 #>>45009194 #>>45009303 #
drdaeman ◴[] No.45008634[source]
I believe it’s pretty common to e.g. call libraries’ and frameworks’ user- (developer-) facing interface an API, like in “Python’s logging library has a weird-looking API”, so I don’t think API had eroded to mean only networked ones.
replies(1): >>45008891 #
mettamage ◴[] No.45008891[source]
I never understood why libraries also had the word API. From my understanding a library is a set of functions specific to a certain domain, such as a statistics library, for example. Then why would you need the word API? You already know it’s a library.

For end points it’s a bit different. You don’t know what are they or user facing or programmer facing.

I wonder if someone has a good take on this. I’m curious to learn.

replies(3): >>45008912 #>>45009091 #>>45010186 #
1. snmx999 ◴[] No.45010186[source]
The API of a library is what a recipe is to food.