Hacker News new | ask | show | jobs
by chazu 1431 days ago
An API is also the interface used by humans to create programs. When you use a library, you're using its API. This sense of the term API is often lost.
1 comments

True, but in this sense every code, every library and every API would be "for humans", which renders this distinction rather useless.
Not sure what you mean. Sometimes the word API is used in one sense, sometimes in another. It's a useful distinction insofar as it allows you to talk about APIs as things used by programmers. I find many developers have a hard time understanding this sense of the word API and as a result fail to apply good API design principles such as SOLID. In fact I think this is often what separates mediocre programmers from good ones.