Thank you for making this simple and well written read. I like to be certain what I’m talking about when I use terms and I feel like API gets used very very loosely. I like simple definitions that are easy to remember, so replacing API with “someone else’s code” works great.
Question: What would you say is the difference between an API and a library? I’m speaking from my old C programming days where you would start most your code off with ‘include’ statements. They essentially sound like API’s specific to C
You can think of the API as the "surface area" of the library. There may be lots of good stuff inside, but you can't access it without going through the predefined public API.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you for making this simple and well written read. I like to be certain what I’m talking about when I use terms and I feel like API gets used very very loosely. I like simple definitions that are easy to remember, so replacing API with “someone else’s code” works great.
Question: What would you say is the difference between an API and a library? I’m speaking from my old C programming days where you would start most your code off with ‘include’ statements. They essentially sound like API’s specific to C
You can think of the API as the "surface area" of the library. There may be lots of good stuff inside, but you can't access it without going through the predefined public API.