Programmers use an API to access a library. APIs are what a programmer can see and interact with, while a library is everything underneath the API that cannot be seen.
Documentation for an API/library allows programmers to better understand the behaviors and use of the contained procedures.
APIs and libraries simplify creating complex programs through modularity (3.13).
Go Back